Liferay Portal and Liferay DXP Cross-site scripting (XSS) vulnerability in the Document Library module
Cross-site scripting (XSS) vulnerability in the Document Library module's add document menu versions 5.0.6 to before 5.0.54, in Liferay Portal 7.3.0 through 7.3.4, and Liferay DXP 7.1 before fix pack 20, and 7.2 before fix pack 9, allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_document_library_web_portlet_DLAdminPortlet_name parameter.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay:com.liferay.document.library.web | >= 5.0.6, < 5.0.54 | 5.0.54 |
| Java / Kotlin (Maven) | com.liferay.portal:release.dxp.bom | >= 7.1.0, < 7.1.10.fp20, >= 7.2.0, < 7.2.10.fp9 | 7.1.10.fp20, 7.2.10.fp9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33337
- https://github.com/liferay/liferay-portal/commit/432e9eb911d11ff40e1db652690586e496940633
- https://github.com/liferay/liferay-portal
- https://issues.liferay.com/browse/LPE-17101
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2021-33337
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
com.liferay:com.liferay.document.library.web, com.liferay.portal:release.dxp.bom- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-v88g-7fx4-9q7f - CC BY 4.0
Vulnerability history: com.liferay:com.liferay.document.library.web
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
- 2
- First → latest
- 05.2022 10.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Liferay Portal and Liferay DXP Cross-site scripting (XSS) vulnerability in the Document Library module 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.