---
title: "CVE-2024-25147: Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting"
url: https://erroneo.us/security/cve/CVE-2024-25147/
description: "CVE-2024-25147 (com.liferay.portal:release.portal.bom (Maven)): Cross-site scripting (XSS) vulnerability in HtmlUtil.escapeJsLink in Liferay Portal 7.2.0…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-02-21
date_modified: 2026-03-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-25147"
kev: false
cvss: 9.6
epss: 0.00555
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.6% , percentile 46: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 46% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes com.liferay.portal:release.portal.bom (Maven) <= 7.4.1, no fixed version listed ; com.liferay.portal:release.dxp.bom (Maven) >= 7.3.0, < 7.3.10.u4, fixed in 7.3.10.u4 ; com.liferay.portal:release.dxp.bom (Maven) >= 7.2.0, < 7.2.10.fp15, fixed in 7.2.10.fp15 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Maven `com.liferay.portal:release.portal.bom` <= 7.4.1 → fixed: none listed
- Maven `com.liferay.portal:release.dxp.bom` >= 7.3.0, < 7.3.10.u4 → fixed: 7.3.10.u4
- Maven `com.liferay.portal:release.dxp.bom` >= 7.2.0, < 7.2.10.fp15 → fixed: 7.2.10.fp15

## Affected products (CVE record)

- Liferay Portal: 7.2.0 <= 7.4.1
- Liferay DXP: 7.3.10 <= 7.3.10-dxp-2, 7.2.10 <= 7.2.10-dxp-14

## Severity

- Liferay CVSS 3.1: 9.6 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.56% probability of exploitation activity in the next 30 days; percentile 46.

## Sources

- [liferay.dev](https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25147)
- [GitHub Advisory GHSA-xpjg-7hx7-wgcx](https://github.com/advisories/GHSA-xpjg-7hx7-wgcx)
- [CVE.org record CVE-2024-25147](https://www.cve.org/CVERecord?id=CVE-2024-25147)
- [NVD entry CVE-2024-25147](https://nvd.nist.gov/vuln/detail/CVE-2024-25147)

---
Source page: https://erroneo.us/security/cve/CVE-2024-25147/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
