medium6.1
CVE-2021-33337
Liferay Portal and Liferay DXP Cross-site scripting (XSS) vulnerability in the Document Library module
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.liferay:com.liferay.document.library.web | >= 5.0.6, < 5.0.54 | 5.0.54 |
| maven | com.liferay.portal:release.dxp.bom | >= 7.1.0, < 7.1.10.fp20 | 7.1.10.fp20 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Digital Experience Platform | Versions 7.1, 7.2 |
| Liferay | Liferay Portal | from 7.3.0 through 7.3.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://issues.liferay.com/browse/LPE-17101
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-33337-stored-xss-with-document-types-in-documents-and-media
- https://github.com/advisories/GHSA-v88g-7fx4-9q7f
- https://nvd.nist.gov/vuln/detail/CVE-2021-33337
- https://github.com/liferay/liferay-portal/commit/432e9eb911d11ff40e1db652690586e496940633
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2021-33337