Liferay Portal and Liferay DXP fails to check origin of event messagesGHSA-ghw5-998m-vw4w
MEDIUMFix: liferay/liferay-portal@2fe1441GHSA-ghw5-998m-vw4w is a medium-severity (CVSS 5.3) CWE-346 vulnerability in com.liferay:com.liferay.remote.app.web. A fix is available for com.liferay:com.liferay.remote.app.web — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
com.liferay:com.liferay.remote.app.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
The Remote App module before 2.0.21 from Liferay Portal v7.4.3.4 through v7.4.3.8 and Liferay DXP 7.4 before update 5 does not check if the origin of event messages it receives matches the origin of the Remote App, allowing attackers to exfiltrate the CSRF token via a crafted event message.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay:com.liferay.remote.app.web | all versions | 2.0.21com.liferay:com.liferay.remote.app.web:2.0.21 |
| ☕Maven | com.liferay.portal:release.dxp.bom | all versions | 7.4.13.u5com.liferay.portal:release.dxp.bom:7.4.13.u5 |
Affected Products
digital experience platformliferayliferay portalliferayDetection & 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.remote.app.web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay:com.liferay.remote.app.web to 2.0.21 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-ghw5-998m-vw4w 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.
Frequently Asked Questions
Is GHSA-ghw5-998m-vw4w in your dependencies?
Find it across Maven, including transitive dependencies.