Security Digest · Vulnerability record

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

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…

CVSS 9.6 Critical EPSS 0.6% · p46

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • 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.

From the GitHub advisory

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.

Weakness type: CWE-79.

Product: com.liferay.portal:release.portal.bom (Maven) · Assigned by: Liferay · Published: 2024-02-21

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Mavencom.liferay.portal:release.portal.bom<= 7.4.1none listed
Mavencom.liferay.portal:release.dxp.bom>= 7.3.0, < 7.3.10.u47.3.10.u4
Mavencom.liferay.portal:release.dxp.bom>= 7.2.0, < 7.2.10.fp157.2.10.fp15
VendorProductAffected versions (per CVE record)
LiferayPortal7.2.0 <= 7.4.1
LiferayDXP7.3.10 <= 7.3.10-dxp-2, 7.2.10 <= 7.2.10-dxp-14

Severity scores

Scored byCVSSScoreVector
Liferay3.19.6 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub3.19.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: required (a user must click/open something)
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • 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.

Timeline

  • — CVE record published by Liferay
  • — GitHub-reviewed advisory GHSA-xpjg-7hx7-wgcx published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. liferay.dev liferay.dev

Vulnerability records

  1. GitHub Advisory GHSA-xpjg-7hx7-wgcx github.com
  2. CVE.org record CVE-2024-25147 cve.org
  3. NVD entry CVE-2024-25147 nvd.nist.gov

Critical Maven advisories · Today’s Security Digest