CVE-2025-62258 Liferay Portal Vulnerable to CSRF in Headless APIs
Remote attackers can execute arbitrary Headless API commands via CSRF, potentially leading to code execution or security bypass in Liferay Portal.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-62258?
CVE-2025-62258 is a high-severity vulnerability in Liferay Digital Experience Platform, published on 27 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
CSRF vulnerability in Headless API in Liferay Portal 7.4.0 through 7.4.3.107, and Liferay DXP 2023.Q3.1 through 2023.Q3.4, 7.4 GA through update 92, 7.3 GA through update 35, and older unsupported versions allows remote attackers to execute any Headless API via the `endpoint` parameter.
Weakness: CWE-352
Which versions are affected by CVE-2025-62258?
2 open source packages ship an affected version, including com.liferay.portal:release.portal.bom. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.portal.bom Maven | From 7.4.0-ga1 | 7.4.3.108 |
com.liferay.portal:release.portal.bom Maven | From 7.4.0-ga1 | 7.4.3.108 |
Products include Liferay Digital Experience Platform, Liferay Liferay Portal.
How do I fix CVE-2025-62258?
Upgrade com.liferay.portal:release.portal.bom to 7.4.3.108 or later.
Is CVE-2025-62258 being exploited?
There is no known exploitation of CVE-2025-62258 in the wild and no public exploit code.
Other vulnerabilities in Liferay Digital Experience Platform
- CVE-2024-8980 Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
- CVE-2023-42496 Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2023-42498 Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2024-25147 Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting
- CVE-2024-26269 Liferay Portal Frontend JS module's portlet.js and Liferay DXP vulnerable to Cross-site Scripting
Sources
Also known as GHSA-gh4w-8qgq-8w9r.