CVE-2025-3586

State
Published
Severity
7.5 High
Published
Sep 1, 2025
Updated
Feb 26, 2026
Reserved
Apr 14, 2025

Read the record on cve.org

Description

In Liferay Portal 7.4.3.27 through 7.4.3.42, and Liferay DXP 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 27 through update 42 (Liferay PaaS, and Liferay Self-Hosted), the Objects module does not restrict the use of Groovy scripts in Object actions for Admin Users. This allows remote authenticated admin users with the Instance Administrator role to execute arbitrary Groovy scripts (i.e., remote code execution) through Object actions.

In contrast, in Liferay DXP (Liferay SaaS), the use of Groovy in Object actions is not allowed due to the high security risks it poses.

Starting from Liferay DXP 2024.Q2 and later, a new feature has been introduced in Instance Settings that allows administrators to configure whether Groovy scripts are allowed in their instances.

Scores

CVSSScoreVectorSource
4.07.5 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NLiferay

Weaknesses

Affected Products

ProductVersions
PortalLiferay
  • 7.4.3.27 through 7.4.3.42Affected
DXPLiferay
  • 7.4.13-u27 through 7.4.13-u42Affected
  • 2023.Q3.1 through 2023.Q3.10Affected
  • 2023.Q4.0 through 2023.Q4.10Affected
  • 2024.Q1.1 through 2024.Q1.20Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.