Loading...
Skip to main content

CVE-2024-8980

CRITICAL

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

Published October 22, 2024Updated July 29, 2025Source: osv

Summary

The Script Console in Liferay Portal 7.0.0 through 7.4.3.101, and Liferay DXP 2023.Q3.1 through 2023.Q3.4, 7.4 GA through update 92, 7.3 GA through update 35, 7.2 GA through fix pack 20, 7.1 GA through fix pack 28, 7.0 GA through fix pack 102 and 6.2 GA through fix pack 173 does not sufficiently protect against Cross-Site Request Forgery (CSRF) attacks, which allows remote attackers to execute arbitrary Groovy script via a crafted URL or a XSS vulnerability. This issue has been patched in Liferay Portal 7.4.3.102, Liferay DXP 2024.Q1.1, Liferay DXP 2023.Q4.0, Liferay DXP 2023.Q3.5, and Liferay DXP 7.3 Update 36.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.liferay.portal:release.portal.bom to 7.4.3.102-GA102 or later
<!-- Update pom.xml dependency version to 7.4.3.102-GA102 for com.liferay.portal:release.portal.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.3.10.u36 or later
<!-- Update pom.xml dependency version to 7.3.10.u36 for com.liferay.portal:release.dxp.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 2023.Q3.5 or later
<!-- Update pom.xml dependency version to 2023.Q3.5 for com.liferay.portal:release.dxp.bom -->

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

Affected Packages (7)

PackageEcosystemAffectedFixed In
com.liferay.portal:release.dxp.bom
maven
7.1.10, 7.1.10.fp1, 7.1.10.fp10, 7.1.10.fp11 (+23 more)Range-based data available
com.liferay.portal:release.dxp.bom
maven
7.2.1, 7.2.10, 7.2.10.fp1, 7.2.10.fp1-1 (+19 more)Range-based data available
com.liferay.portal:release.dxp.bom
maven
7.4.10.ep1, 7.4.11, 7.4.12, 7.4.13 (+88 more)Range-based data available
com.liferay.portal:release.portal.bom
maven
7.0.6, 7.0.6-1, 7.0.6-2, 7.1.0 (+129 more)7.4.3.102-GA102
com.liferay.portal:release.dxp.bom
maven
7.3.10, 7.3.10.ep3, 7.3.10.ep4, 7.3.10.ep5 (+38 more)7.3.10.u36
com.liferay.portal:release.dxp.bom
maven
2023.q3.1, 2023.q3.2, 2023.q3.3, 2023.q3.42023.Q3.5
com.liferay.portal:release.dxp.bom
maven
7.0.10.fp100, 7.0.10.fp101, 7.0.10.fp102, 7.0.10.fp60 (+42 more)Range-based data available

Vulnerability Classification

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

  • CWE-352
    Cross-Site Request Forgery (CSRF)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-8980?
Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console 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-8980?
CVE-2024-8980 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-8980 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-chj2-4vg7-hhg3

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-25145
    CRITICAL

    Liferay Portal stored cross-site scripting (XSS) vulnerability

  • CVE-2024-25601
    CRITICAL

    Liferay Portal Expando module 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

Check if you're affected

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

Scan Your Dependencies