GHSA-q2cv-7j58-rfmj
CRITICALGHSA-q2cv-7j58-rfmj is a critical-severity (CVSS 9) Cross-site Scripting (XSS) vulnerability in com.liferay.portal:release.portal.bom. O3 Security confirms whether GHSA-q2cv-7j58-rfmj is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
Liferay Portal Document and Media widget and Liferay DXP vulnerable to stored Cross-site Scripting
Blast Radius
com.liferay.portal:release.portal.bom☕com.liferay.portal:release.dxp.bom☕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 Document and Media widget in Liferay Portal 7.4.3.18 through 7.4.3.101, and Liferay DXP 2023.Q3 before patch 6, and 7.4 update 18 through 92 allows remote authenticated users to inject arbitrary web script or HTML via a crafted payload injected into a document's “Title” text field.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay.portal:release.portal.bom | ≥ 7.4.3.18&&< 7.4.3.102 | 7.4.3.102 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 2023.Q3&&< 2023.Q3.6 | 2023.Q3.6 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.4.13.u18 | No fix |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay.portal:release.portal.bom. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update com.liferay.portal:release.portal.bom to 7.4.3.102 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q2cv-7j58-rfmj 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 pinpoints whether GHSA-q2cv-7j58-rfmj is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-q2cv-7j58-rfmj. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-q2cv-7j58-rfmj in your dependencies?
O3 detects GHSA-q2cv-7j58-rfmj across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.