Skip to content
Fencer Intel
medium 6.1

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 Fencer

Exploit 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

Sources

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.