MEDIUM5.4
GHSA-fvg6-9r88-7w85
Liferay Portal Journal Module and Liferay DXP Vulnerable to Cross-Site Scripting (XSS)
Quick fix
GHSA-fvg6-9r88-7w85 — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.3.4</version> for com.liferay.portal:release.portal.bomDetails
Cross-site scripting (XSS) vulnerability in the Journal module's add article menu in Liferay Portal 7.3.0 through 7.3.3, and Liferay DXP 7.1 fix pack 18, and 7.2 fix pack 5 through 7, allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_journal_web_portlet_JournalPortlet_name parameter.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay.portal:release.portal.bom
Introduced in:
7.3.0Fixed in: 7.3.4Fix
# pom.xml: bump <version>7.3.4</version> for com.liferay.portal:release.portal.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.1.0Fixed in: 7.1.10.fp18Fix
# pom.xml: bump <version>7.1.10.fp18</version> for com.liferay.portal:release.dxp.bomMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.2.10.fp5Fixed in: 7.2.10.fp7Fix
# pom.xml: bump <version>7.2.10.fp7</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-33336[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://issues.liferay.com/browse/LPE-17078[WEB]
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-33336-stored-xss-with-structure-name[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.portal/release.portal.bom"]}'