CVE-2025-43740: Liferay Portal has Stored Cross-Site Scripting Vulnerability via Message Boards Feature
A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.3.120 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.8, 2025.Q1.0 through 2025.Q1.15, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.1 through 2024.Q2.13 and 2024.Q1.9 through 2024.Q1.19 allows an remote authenticated attacker to inject JavaScript through the message boards feature available via the web interface.
Liferay Portal is fixed on the master branch from commit c1b7c6b.
References
- github.com/advisories/GHSA-22jp-w3cg-gvmm
- github.com/liferay/liferay-portal
- github.com/liferay/liferay-portal/commit/32821b41f7f62271d1fb9d56c82297cd087780a4
- github.com/liferay/liferay-portal/commit/51e21fa8b3e8b49ed455caeab192c5bba7e15b6d
- github.com/liferay/liferay-portal/commit/c1b7c6b58f5042072c381fc2664e808ebb745826
- liferay.atlassian.net/browse/LPE-18276
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43740
- nvd.nist.gov/vuln/detail/CVE-2025-43740
Code Behaviors & Features
Detect and mitigate CVE-2025-43740 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →