Liferay Portal and Liferay DXP insecure default configuration
Insecure default configuration in portal services implementation before 5.11.0 in Liferay Portal 6.2.3 through 7.3.2, and Liferay DXP before 7.3, allows remote attackers to enumerate user email address via the forgot password functionality. The portal.property login.secure.forgot.password should be defaulted to true.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay.portal:com.liferay.portal.impl | < 5.11.0 | 5.11.0 |
| Java / Kotlin (Maven) | com.liferay.portal:release.portal.bom | < 7.3.3 | 7.3.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33321
- https://github.com/liferay/liferay-portal/commit/06df28c5ad618afed967fa485418e6cc29c70f38
- https://github.com/liferay/liferay-portal/commit/37de1d78d9b1c4a473e3233a6ea146c741075e18
- https://github.com/liferay/liferay-portal
- https://help.liferay.com/hc/en-us/articles/360050785632
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120748055
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-640- Platform
- Java / Kotlin (Maven)
- Package
com.liferay.portal:com.liferay.portal.impl, com.liferay.portal:release.portal.bom- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-jfch-m2x3-2v66 - CC BY 4.0
Vulnerability history: com.liferay.portal:com.liferay.portal.impl
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 18
- First → latest
- 04.2022 11.2025
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 15
Disclosures per year
- 2022: 5
- 2023: 0
- 2024: 1
- 2025: 12
- 2026: 0
-
Liferay Portal and Liferay DXP insecure default configuration this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.