GHSA-jvvx-8g42-9559
Liferay Portal and Liferay DXP Vulnerable to Cross-Site Scripting (XSS) in Asset Publisher App
Quick fix
GHSA-jvvx-8g42-9559 — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.3.6</version> for com.liferay.portal:release.portal.bomDetails
Cross-site scripting (XSS) vulnerability in the Asset module's Asset Publisher app in Liferay Portal 7.2.1 through 7.3.5, and Liferay DXP 7.1 before fix pack 21, 7.2 before fix pack 10 and 7.3 before fix pack 1 allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_XXXXXXXXXXXX_assetEntryId parameter.
Are you affected?
Enter the version of the package you're using.
Affected packages
7.2.1Fixed in: 7.3.6# pom.xml: bump <version>7.3.6</version> for com.liferay.portal:release.portal.bom0Fixed in: 7.1.10.fp21# pom.xml: bump <version>7.1.10.fp21</version> for com.liferay.portal:release.dxp.bom7.2.0Fixed in: 7.2.10.fp10# pom.xml: bump <version>7.2.10.fp10</version> for com.liferay.portal:release.dxp.bom7.3.0Fixed in: 7.3.10.fp1# pom.xml: bump <version>7.3.10.fp1</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-29051[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743580[WEB]
- https://web.archive.org/web/20210524223247/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120743580[WEB]
- http://liferay.com[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"]}'