CVE-2025-43819: Liferay Portal and DXP does not properly expire sessions
Summary Liferay Portal/DXP contains an Insufficient Session Expiration issue where the Single Logout (SLO) API may fail to invalidate a user’s previous session. An attacker can reuse a stale session via the SLO endpoint to gain an authenticated context.
Published Sep 24, 2025 · Updated Dec 16, 2025
Affected packages
com.liferay:com.liferay.saml.impl
- Ecosystem
- Maven
- Affected
- < 5.0.51
- Fixed in
- 5.0.51
- Check
mvn dependency:tree -Dincludes=com.liferay:com.liferay.saml.impl
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Liferay Portal/DXP contains an Insufficient Session Expiration issue where the Single Logout (SLO) API may fail to invalidate a user’s previous session. An attacker can reuse a stale session via the SLO endpoint to gain an authenticated context.
Affected Versions
The following platform versions are affected:
- Liferay Portal:
7.3.3.131through7.4.3.121- Liferay DXP:
2024.Q4.0–2024.Q4.32024.Q3.1–2024.Q3.132024.Q2.0–2024.Q2.132024.Q1.1–2024.Q1.12
Remediation
Update to the fixed builds and, for Maven consumers of the SAML module, upgrade com.liferay:com.liferay.saml.impl to 5.0.51 or later. After upgrading, ensure session invalidation policies are enforced and verify SLO behavior end-to-end.
Credited to cai0duque.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43819
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43819
- https://github.com/liferay/liferay-portal/commit/433dff5edae4414fdc436b49a9edb62d721c84b5
- https://github.com/liferay/liferay-portal/commit/da9105a61d788801797797a32583a4b76c902cdc
- https://liferay.atlassian.net/browse/LPE-18159
- https://osv.dev/vulnerability/GHSA-rpx3-f938-xj5q
- https://github.com/advisories/GHSA-rpx3-f938-xj5q
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
