CVE-2025-62258 Liferay Portal Vulnerable to CSRF in Headless APIs

High 7.0 Published Updated

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.

PackageAffectedFixed in
com.liferay.portal:release.portal.bom MavenFrom 7.4.0-ga17.4.3.108
com.liferay.portal:release.portal.bom MavenFrom 7.4.0-ga17.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.

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as GHSA-gh4w-8qgq-8w9r.

Is CVE-2025-62258 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free