GHSA-hv45-r2f5-fmhj
Liferay Portal and Liferay DXP Vulnerable to XSS in the Wiki Widget
Quick fix
GHSA-hv45-r2f5-fmhj — com.liferay:com.liferay.wiki.web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.0.95</version> for com.liferay:com.liferay.wiki.webDetails
Stored cross-site scripting (XSS) vulnerability in the Wiki widget in Liferay Wiki Web before 7.0.95 from Liferay Portal (7.1.0 through 7.4.3.87), and Liferay DXP 7.0 fix pack 83 through 102, 7.1 fix pack 28 and earlier, 7.2 fix pack 20 and earlier, 7.3 update 33 and earlier, and 7.4 before update 88 allows remote attackers to inject arbitrary web script or HTML into a parent wiki page via a crafted payload injected into a wiki page's ‘Content’ text field.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 7.0.95# pom.xml: bump <version>7.0.95</version> for com.liferay:com.liferay.wiki.web7.0.10.fp83No fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.1.0No fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.2.0No fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.3.0Fixed in: 7.3.10.u34# pom.xml: bump <version>7.3.10.u34</version> for com.liferay.portal:release.dxp.bom7.4.0Fixed in: 7.4.13.u88# pom.xml: bump <version>7.4.13.u88</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-42628[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42628[WEB]
- https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal[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.wiki.web"]}'