Skip to main content

CVE-2024-25145 — Vulnerability in release.portal.bom — CVE Details

CRITICAL

Liferay Portal stored cross-site scripting (XSS) vulnerability

Published February 7, 2024Updated February 16, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.80%). Schedule for your next planned update.

Does your project use an affected com.liferay.portal:release.portal.bom version?

Paste your pom.xml to check it for CVE-2024-25145 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Stored cross-site scripting (XSS) vulnerability in the Portal Search module's Search Result app in Liferay Portal 7.2.0 through 7.4.3.11, and older unsupported versions, and Liferay DXP 7.4 before update 8, 7.3 before update 4, 7.2 before fix pack 17, and older unsupported versions allows remote authenticated users to inject arbitrary web script or HTML into the Search Result app's search result if highlighting is disabled by adding any searchable content (e.g., blog, message board message, web content article) to the application.

Advisory Timeline

  • First published February 7, 2024 (1023 days ago).
  • Last revised February 16, 2024 — 9 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.liferay.portal:release.portal.bom to 7.4.3.12 or later
<!-- Update pom.xml dependency version to 7.4.3.12 for com.liferay.portal:release.portal.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.2.10.fp17 or later
<!-- Update pom.xml dependency version to 7.2.10.fp17 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 -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.4.3.13u8 or later
<!-- Update pom.xml dependency version to 7.4.3.13u8 for com.liferay.portal:release.dxp.bom -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Maven (2).

PackageFixed In
com.liferay.portal:release.portal.bom Maven · Affected: 7.0.6, 7.0.6-1, 7.0.6-2, 7.1.0 (+32 more)7.4.3.12
com.liferay.portal:release.dxp.bom Maven · Affected: 7.0.10.14, 7.0.10.14-1, 7.0.10.16, 7.0.10.17 (+102 more)7.2.10.fp17
com.liferay.portal:release.dxp.bom Maven · Affected: 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.dxp.bom Maven · Affected: All versions7.4.3.13u8

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-25145?
Liferay Portal stored cross-site scripting (XSS) vulnerability. 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-25145?
CVE-2024-25145 affects com.liferay.portal:release.portal.bom and com.liferay.portal:release.dxp.bom. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-25145 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.80%
EPSS percentile: 53.2

This is an above-median EPSS score — 53.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-9vgq-w5pv-v77q

Related CVEs

  • CVE-2024-38002
    CRITICAL

    Liferay Portal and Liferay DXP Workflow Component Does Not Check User Permissions

  • CVE-2024-25603
    CRITICAL

    Liferay Portal's Dynamic Data Mapping module's DDMForm and Liferay DXP vulnerable to stored Cross-site Scripting

  • CVE-2023-40191
    CRITICAL

    Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting

  • CVE-2023-42496
    CRITICAL

    Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting

  • CVE-2023-42498
    CRITICAL

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

  • CVE-2024-8980
    CRITICAL

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

  • CVE-2024-25147
    CRITICAL

    Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting

  • CVE-2024-26271
    HIGH

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

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml