GHSA-v88g-7fx4-9q7f
Liferay Portal and Liferay DXP Cross-site scripting (XSS) vulnerability in the Document Library module
Quick fix
GHSA-v88g-7fx4-9q7f — com.liferay:com.liferay.document.library.web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>5.0.54</version> for com.liferay:com.liferay.document.library.webDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
5.0.6Fixed in: 5.0.54# pom.xml: bump <version>5.0.54</version> for com.liferay:com.liferay.document.library.web7.1.0Fixed in: 7.1.10.fp20# pom.xml: bump <version>7.1.10.fp20</version> for com.liferay.portal:release.dxp.bom7.2.0Fixed in: 7.2.10.fp9# pom.xml: bump <version>7.2.10.fp9</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-33337[ADVISORY]
- https://github.com/liferay/liferay-portal/commit/432e9eb911d11ff40e1db652690586e496940633[WEB]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://issues.liferay.com/browse/LPE-17101[WEB]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2021-33337[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay/com.liferay.document.library.web"]}'