# CVE-2025-2536: Liferay Portal and Liferay DXP Vulnerable to Cross-Site Scripting (XSS)

- Severity: Medium 5.1 (CVSS:4.0, scored by Liferay) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 38% of CVEs (2026-11-30)
- Published: 2025-03-19T19:00:42.808Z
- Modified: 2026-09-10T03:49:48.660Z
- Also known as: GHSA-hrc4-p2h3-pjqw
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Liferay

## 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

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.4.3.82 up to 7.4.3.128
- Liferay DXP: from 7.4.13-u82 up to 7.4.13-u92; from 2023.Q3.1 up to 2023.Q3.10; from 2023.Q4.0 up to 2023.Q4.10; from 2024.Q1.1 up to 2024.Q1.12; from 2024.Q2.0 up to 2024.Q2.13; 2024.Q3.0
- com.liferay.portal:release.dxp.bom (Maven): from 2024.Q2.0 up to 2024.Q2.11; from 2024.Q1.1 before 2024.Q1.13; from 2023.Q4.0 before 2024.Q4.0; from 2023.Q3.1 before 2024.Q4.0; from 2024.Q3.0 before 2024.Q3.1
- com.liferay.portal:release.portal.bom (Maven): from 7.4.3.82 before 7.4.3.129
- liferay digital_experience_platform: from 2023.Q3.1 up to 2023.Q3.10; from 2023.q4.0 up to 2023.q4.10; from 2024.q1.1 up to 2024.q1.12; from 2024.q2.0 up to 2024.q2.13; 7.4; 2024.q3.0
- liferay liferay_portal: from 7.4.3.82 up to 7.4.3.128

## Every score

- Liferay: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-2536> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2536> (advisory)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2025-2536](https://www.cve.org/CVERecord?id=CVE-2025-2536), CVE Terms of Use, modified 2025-03-21
- GitHub Advisory Database: [GHSA-hrc4-p2h3-pjqw](https://github.com/advisories/GHSA-hrc4-p2h3-pjqw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-2536](https://nvd.nist.gov/vuln/detail/CVE-2025-2536), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-2536 · Whole record: https://cve.day/CVE-2025-2536.json · Rebuilt by cve.day 2026-11-25T22:58:55.362Z
