# CVE-2024-25147: Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting

- Severity: Critical 9.6 (CVSS:3.1, scored by Liferay) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- 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.56%, higher than 47% of CVEs (2026-12-01)
- Published: 2024-02-21T01:16:21.256Z
- Modified: 2026-06-17T07:15:36.110Z
- Also known as: GHSA-xpjg-7hx7-wgcx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Liferay

## Description

Cross-site scripting (XSS) vulnerability in HtmlUtil.escapeJsLink in Liferay Portal 7.2.0 through 7.4.1, and older unsupported versions, and Liferay DXP 7.3 before service pack 3, 7.2 before fix pack 15, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via crafted javascript: style links.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.2.0 up to 7.4.1
- Liferay DXP: from 7.3.10 up to 7.3.10-dxp-2; from 7.2.10 up to 7.2.10-dxp-14
- com.liferay.portal:release.portal.bom (Maven): up to 7.4.1
- com.liferay.portal:release.dxp.bom (Maven): from 7.3.0 before 7.3.10.u4; from 7.2.0 before 7.2.10.fp15
- liferay liferay_portal: before 7.4.2
- liferay digital_experience_platform: before 7.2; 7.2; 7.3

## Every score

- Liferay: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- 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-2024-25147> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25147> (advisory)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2024-25147](https://www.cve.org/CVERecord?id=CVE-2024-25147), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-xpjg-7hx7-wgcx](https://github.com/advisories/GHSA-xpjg-7hx7-wgcx), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2024-25147](https://nvd.nist.gov/vuln/detail/CVE-2024-25147), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25147 · Whole record: https://cve.day/CVE-2024-25147.json · Rebuilt by cve.day 2026-11-25T22:58:36.945Z
