CVE-2024-8980: Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console

Summary

22/10/2024
Yes i
Critical
9.6

CVE-2024-8980: Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console. Affects com.liferay.portal:release.portal.bom versions >= 7.0.0-a1, < 7.4.3.102-GA102. Fixed in 7.4.3.102-GA102. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Liferay Portal and Liferay DXP are widely used platforms for building enterprise web applications. They provide a robust set of features for content management, collaboration, and workflow automation. The Script Console is a powerful tool within these platforms that allows administrators to execute Groovy scripts for various administrative tasks. However, a critical vulnerability has been identified that compromises the security of this tool, exposing it to Cross-Site Request Forgery (CSRF) attacks.

Vulnerability Detail

The vulnerability arises from insufficient protection against CSRF attacks in the Script Console of Liferay Portal versions 7.0.0 through 7.4.3.101 and Liferay DXP versions 2023.Q3.1 through 2023.Q3.4. This flaw allows remote attackers to execute arbitrary Groovy scripts by crafting malicious URLs or exploiting existing cross-site scripting (XSS) vulnerabilities. The potential ramifications include unauthorized access to sensitive data and the ability to manipulate the application’s behavior, leading to severe security breaches.

How To Fix

Latest published version: 7.4.3.132 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.4.3.102-GA102

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, it is advisable to restrict access to the Script Console to trusted users only and to implement additional security measures such as CSRF tokens for sensitive operations until the patch can be applied.

Conclusion

In summary, CVE-2024-8980 represents a serious security vulnerability in Liferay Portal and Liferay DXP that requires immediate attention. By updating to the latest patched versions and implementing recommended workarounds, organizations can mitigate the risks associated with this vulnerability.

See every vulnerability recorded for com.liferay.portal:release.portal.bom →

Share this vulnerability

FAQ

CVE-2024-8980 is a critical vulnerability in Liferay Portal and Liferay DXP that allows attackers to exploit the Script Console through CSRF attacks.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The vulnerability can lead to unauthorized execution of scripts, data breaches, and manipulation of application behavior, posing significant security risks.

Update your Maven project's pom.xml file to include the patched version of the affected packages as specified in the 'how_to_fix' section.

The CVSS score of this vulnerability is 9.6, indicating a critical level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay.portal:release.portal.bom.

How To Fix

Latest published version: 7.4.3.132 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.4.3.102-GA102

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback