CVE-2025-43774: Liferay Portal is vulnerable to XSS attack through its Style Book theme
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.17 allows a remote authenticated user to inject JavaScript code via Style Book theme name. This malicious payload is then reflected and executed within the user's browser.
Published Sep 9, 2025 · Updated Sep 10, 2025
Affected packages
com.liferay:com.liferay.frontend.taglib.clay
- Ecosystem
- Maven
- Affected
- < 15.2.1
- Fixed in
- 15.2.1
- Check
mvn dependency:tree -Dincludes=com.liferay:com.liferay.frontend.taglib.clay
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.17 allows a remote authenticated user to inject JavaScript code via Style Book theme name. This malicious payload is then reflected and executed within the user's browser.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43774
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43774
- https://github.com/liferay/liferay-portal/commit/e15df92e3faa3abbf38e3643b79ab8cf2983d6df
- https://liferay.atlassian.net/browse/LPE-18222
- https://github.com/advisories/GHSA-qgj5-4qvg-2f8c
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
