Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages
The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused attacks via crafted inputs.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay.portal:release.dxp.bom | < 7.0.10.fp97, >= 7.1.0, < 7.1.10.fp20, >= 7.2.0, < 7.2.10.fp10 | 7.0.10.fp97, 7.1.10.fp20, 7.2.10.fp10 |
| Java / Kotlin (Maven) | com.liferay.portal:release.portal.bom | < 7.3.5 | 7.3.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-29040
- https://github.com/liferay/liferay-portal
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429
- https://web.archive.org/web/20220828222656/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743429
- http://liferay.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-209- Platform
- Java / Kotlin (Maven)
- Package
com.liferay.portal:release.dxp.bom, com.liferay.portal:release.portal.bom- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-87x7-pwrx-jch7 - CC BY 4.0
Vulnerability history: com.liferay.portal:release.portal.bom
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
- 159
- First → latest
- 05.2021 10.2025
- Without a fix
- 33
- Exploited in attacks
- 0
Severity breakdown
- Critical 18
- High 25
- Medium 115
- Low 1
Disclosures per year
- 2021: 1
- 2022: 57
- 2023: 18
- 2024: 40
- 2025: 43
- 2026: 0
-
Liferay Portal and Liferay DXP Reveals Data via Overly Verbose Error Messages 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.