CVE-2023-42629 — com.liferay.asset.categor…
MEDIUMCVE-2023-42629 is a medium-severity (CVSS 5.4) vulnerability in com.liferay:com.liferay.asset.categories.admin.web. A fix is available for com.liferay:com.liferay.asset.categories.admin.web — see the affected versions and patch details below.
Liferay Portal and Liferay DXP Vulnerable to Stored XSS in the Manage Vocabulary Page
Real-World Exposure
com.liferay:com.liferay.asset.categories.admin.web☕com.liferay.portal:release.dxp.bomReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Stored cross-site scripting (XSS) vulnerability in the manage vocabulary page in Liferay Portal 7.4.2 through 7.4.3.87, and Liferay DXP 7.4 before update 88 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a Vocabulary's 'description' text field.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay:com.liferay.asset.categories.admin.web | all versions | 5.0.87com.liferay:com.liferay.asset.categories.admin.web:5.0.87 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.4.0&&< 7.4.13.u88 | 7.4.13.u88com.liferay.portal:release.dxp.bom:7.4.13.u88 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay:com.liferay.asset.categories.admin.web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay:com.liferay.asset.categories.admin.web to 5.0.87 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-42629 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2023-42629 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2023-42629. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2023-42629 in your dependencies?
O3 Security finds CVE-2023-42629 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.