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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay.portal:release.portal.bom | >= 7.4.3.120-ga120, <= 7.4.3.132-ga23 | no fix |
References
- 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://github.com/liferay/liferay-portal
- https://liferay.atlassian.net/browse/LPE-18276
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43740
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
com.liferay.portal:release.portal.bom- Disclosed
- 19.08.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-22jp-w3cg-gvmm - CC BY 4.0
Vulnerability history: com.liferay.portal:release.portal.bom
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 159
- First → latest
- 05.2021 10.2025
- Without a fix
- 33
- Exploited in attacks
- 0
Severity breakdown
- Critical 18
- High 25
- Medium 115
- Low 1
Disclosures per year
- 2021: 1
- 2022: 57
- 2023: 18
- 2024: 40
- 2025: 43
- 2026: 0
-
Liferay Portal has Stored Cross-Site Scripting Vulnerability via Message Boards Feature this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.