CVE-2025-43774: Liferay Portal is vulnerable to XSS attack through its Style Book theme
(updated )
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
- github.com/advisories/GHSA-qgj5-4qvg-2f8c
- github.com/liferay/liferay-portal
- github.com/liferay/liferay-portal/commit/e15df92e3faa3abbf38e3643b79ab8cf2983d6df
- liferay.atlassian.net/browse/LPE-18222
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43774
- nvd.nist.gov/vuln/detail/CVE-2025-43774
Code Behaviors & Features
Detect and mitigate CVE-2025-43774 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →