Liferay Portal vulnerable to Reflected XSS with the referer and forward parameter
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024.Q4.0 through 2024.Q4.3, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12 and 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript into the referer or FORWARD_URL using %00 in those parameters.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay.portal:com.liferay.portal.kernel | < 155.0.0 | 155.0.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43770
- https://github.com/liferay/liferay-portal/commit/a712758b9c4b6f4c54df5dec7d334279bb30f75a
- https://github.com/liferay/liferay-portal/commit/bf20bc07e3e3421d39eaacff052418ce26d791f2
- https://github.com/liferay/liferay-portal
- https://liferay.atlassian.net/browse/LPE-18151
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43770
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
com.liferay.portal:com.liferay.portal.kernel- Disclosed
- 23.08.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h4m4-xp33-37mj - CC BY 4.0
Vulnerability history: com.liferay.portal:com.liferay.portal.kernel
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 05.2022 09.2025
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 2
- Medium 2
- Low 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 4
- 2026: 0
-
Liferay Portal vulnerable to Reflected XSS with the referer and forward parameter this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.