medium4.6
CVE-2025-43740
Liferay Portal has Stored Cross-Site Scripting Vulnerability via Message Boards Feature
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.liferay.portal:release.portal.bom | >= 7.4.3.120-ga120, <= 7.4.3.132-ga23 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Digital Experience Platform | from 2024.Q1.9 before 2024.Q1.20 from 2024.Q2.1 through 2024.Q2.13 from 2024.q3.1 through 2024.q3.13 from 2024.q4.0 through 2024.q4.7 from 2025.Q1.0 before 2025.Q1.16 from 2025.Q2.0 before 2025.Q2.9 |
| Liferay | Liferay Portal | from 7.4.3.120 through 7.4.3.132 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43740
- https://github.com/advisories/GHSA-22jp-w3cg-gvmm
- https://nvd.nist.gov/vuln/detail/CVE-2025-43740
- https://github.com/liferay/liferay-portal/commit/32821b41f7f62271d1fb9d56c82297cd087780a4
- https://github.com/liferay/liferay-portal/commit/51e21fa8b3e8b49ed455caeab192c5bba7e15b6d
- https://github.com/liferay/liferay-portal/commit/c1b7c6b58f5042072c381fc2664e808ebb745826
- https://liferay.atlassian.net/browse/LPE-18276