CVE-2021-33337 json
Liferay Portal and Liferay DXP Cross-site scripting (XSS) vulnerability in the Document Library module
published 5y ago modified 4mo ago also GHSA-v88g-7fx4-9q7f , EUVD-2021-20045
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
Cross-site scripting (XSS) vulnerability in the Document Library module's add document menu 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.
Patch / fix
- maven com.liferay:com.liferay.document.library.web 5.0.54
- maven com.liferay.portal:release.dxp.bom 7.1.10.fp20, 7.2.10.fp9
Is CVE-2021-33337 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
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.2.0, <7.2.10.fp9 |
7.1.10.fp20 7.2.10.fp9 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/liferay/liferay-portal/commit/432e9eb911d11ff40e1db652690586e496940633
web
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-33337-stored-xss-with-do
vendor-advisory
-
issues.liferay.com
/browse/LPE-17101
web, issue-tracking, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-33337
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2021-33337
web
Sources
- CVE List CVE-2021-33337
- GitHub Advisory GHSA-v88g-7fx4-9q7f
- NVD CVE-2021-33337
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.