Vulnerability · Published Mar 19, 2025 · Assigned by Liferay
CVE-2025-2536
Medium 5.1
In plain English
A medium-severity cross-site scripting in DXP from Liferay. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Cross-site scripting (XSS) vulnerability on Liferay Portal 7.4.3.82 through 7.4.3.128, and Liferay DXP 2024.Q3.0, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 82 through update 92 in the Frontend JS module's layout-taglib/__liferay__/index.js allows remote attackers to inject arbitrary web script or HTML via toastData parameter
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.liferay.portal:release.dxp.bom | no fix listed | GHSA-hrc4-p2h3-pjqw |
| Maven | com.liferay.portal:release.dxp.bom | 2024.Q1.13 | GHSA-hrc4-p2h3-pjqw |
| Maven | com.liferay.portal:release.dxp.bom | 2024.Q4.0 | GHSA-hrc4-p2h3-pjqw |
| Maven | com.liferay.portal:release.dxp.bom | 2024.Q4.0 | GHSA-hrc4-p2h3-pjqw |
| Maven | com.liferay.portal:release.dxp.bom | 2024.Q3.1 | GHSA-hrc4-p2h3-pjqw |
| Maven | com.liferay.portal:release.portal.bom | 7.4.3.129 | GHSA-hrc4-p2h3-pjqw |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N