Loading...
Skip to main content

CVE-2024-25147

CRITICAL

Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting

Published February 21, 2024Updated February 21, 2024Source: osv

Summary

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.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.liferay.portal:release.dxp.bom to 7.2.10.fp15 or later
<!-- Update pom.xml dependency version to 7.2.10.fp15 for com.liferay.portal:release.dxp.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.3.10.u4 or later
<!-- Update pom.xml dependency version to 7.3.10.u4 for com.liferay.portal:release.dxp.bom -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

PackageEcosystemAffectedFixed In
com.liferay.portal:release.dxp.bom
maven
7.2.1, 7.2.10, 7.2.10.fp1, 7.2.10.fp1-1 (+13 more)7.2.10.fp15
com.liferay.portal:release.dxp.bom
maven
7.3.10, 7.3.10.ep3, 7.3.10.ep4, 7.3.10.ep5 (+2 more)7.3.10.u4
com.liferay.portal:release.portal.bom
maven
7.0.6, 7.0.6-1, 7.0.6-2, 7.1.0 (+21 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-25147?
Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2024-25147?
CVE-2024-25147 affects com.liferay.portal:release.dxp.bom and com.liferay.portal:release.portal.bom. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-25147 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xpjg-7hx7-wgcx

Related CVEs

  • CVE-2023-42498
    CRITICAL

    Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting

  • CVE-2024-25145
    CRITICAL

    Liferay Portal stored cross-site scripting (XSS) vulnerability

  • CVE-2024-8980
    CRITICAL

    Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console

  • CVE-2024-25601
    CRITICAL

    Liferay Portal Expando module and Liferay DXP vulnerable to stored Cross-site Scripting

  • CVE-2022-42122
    CRITICAL

    Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module

  • CVE-2024-25152
    CRITICAL

    Liferay Portal Message Board widget and Liferay DXP vulnerable to stored Cross-site Scripting

  • CVE-2024-26271
    HIGH

    Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the My Account Widget

  • CVE-2024-26273
    HIGH

    Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the Content Page Editor

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies