Vulnerabilities · 2025 · Liferay
CVE-2025-3586
Liferay Digital Experience Platform vulnerability
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.
Affected products
Digital Experience Platform, Liferay Portal. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Liferay Digital Experience Platform runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2025-3586
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-
- github.com/liferay/liferay-portal/commit/3b9e3bb1462ccd33ede05f73f45b38b8262f018f
- github.com/liferay/liferay-portal/commit/79ddc243e60864c0c30cfccb1cc46e705e922cb0
- github.com/liferay/liferay-portal/commit/b2aa19be228fb308ebe8ae1f47d3224e1fd06225
- liferay.atlassian.net/browse/LPE-17586
- github.com/advisories/GHSA-m5gv-vj3f-6v2p
- nvd.nist.gov/vuln/detail/CVE-2025-3586
- cve.org/CVERecord?id=CVE-2025-3586
More vulnerabilities in Liferay products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.