CVE-2025-43770: 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 FORWARDURL using %00 in those parameters.
Published Aug 23, 2025 · Updated Aug 25, 2025
Affected packages
com.liferay.portal:com.liferay.portal.kernel
- Ecosystem
- Maven
- Affected
- < 155.0.0
- Fixed in
- 155.0.0
- Check
mvn dependency:tree -Dincludes=com.liferay.portal:com.liferay.portal.kernel
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43770
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43770
- https://github.com/liferay/liferay-portal/commit/a712758b9c4b6f4c54df5dec7d334279bb30f75a
- https://github.com/liferay/liferay-portal/commit/bf20bc07e3e3421d39eaacff052418ce26d791f2
- https://liferay.atlassian.net/browse/LPE-18151
- https://github.com/advisories/GHSA-h4m4-xp33-37mj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2025-43792
Liferay Portal has External Control of System or Configuration Settings
low2.3Sep 15, 2025CVE-2025-43793
Liferay Portal has Improper Validation of Specified Quantity in Input
medium6.9Sep 15, 2025CVE-2025-3526
Liferay Portal SessionClicks does not restrict the saving of request parameters in the HTTP session
high8.7Jun 16, 2025CVE-2024-25607
Liferay Portal defaults to a low work factor for the default password hashing algorithm
high8.1Feb 20, 2024
