Vulnerabilities in pkg:maven/com.liferay/com.liferay.saml.impl
PACKAGECVE-2025-43819 is a MODERATE liferay portal and dxp does vulnerability (CWE-613: Insufficient Session Expiration) affecting Com.liferay.saml.impl libraries in the Maven ecosystem. The issue involves liferay portal and dxp does not properly expire sessions. Remediation is available by upgrading affected packages to version 5.0.51.
pkg:maven/com.liferay/com.liferay.saml.impl
Vulnerability advisories affecting package pkg:maven/com.liferay/com.liferay.saml.impl. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rpx3-f938-xj5q | CVE-2025-43819 | MODERATE | Liferay Portal and DXP does not properly expire sessions |
CVE-2025-43819 at a Glance
How to Fix CVE-2025-43819
To remediate this vulnerability, upgrade all affected Com.liferay.saml.impl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.liferay</groupId>
<artifactId>com.liferay.saml.impl</artifactId>
<version>5.0.51</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.liferay
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-43819, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.liferay
Analyze the terminal output to locate any version of Com.liferay.saml.impl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.51), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.liferay command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Com.liferay.saml.impl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-43819 Affected Com.liferay.saml.impl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.liferay:com.liferay.saml.impl
|
Maven |
< 5.0.51
|
5.0.51
|
References
Frequently Asked Questions
What is CVE-2025-43819?
Which Com.liferay.saml.impl versions are affected?
What version fixes CVE-2025-43819?
Is com.liferay.saml.impl affected?
What CWE is associated with CVE-2025-43819?
How can I check Maven dependencies for CVE-2025-43819?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rpx3-f938-xj5q",
"modified" : "2025-12-16T23:59:11Z",
"published" : "2025-09-24T03:30:26Z",
"aliases" : [ "CVE-2025-43819" ],
"summary" : "Liferay Portal and DXP does not properly expire sessions",
"details" : "### Summary\n\nLiferay 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.\n\n### Affected Versions\n\nThe following platform versions are affected:\n\n* **Liferay Portal:** \n * `7.3.3.131` through `7.4.3.121`\n* **Liferay DXP:**\n * `2024.Q4.0`–`2024.Q4.3`\n * `2024.Q3.1`–`2024.Q3.13`\n * `2024.Q2.0`–`2024.Q2.13`\n * `2024.Q1.1`–`2024.Q1.12`\n\n### Remediation\n\nUpdate 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.liferay:com.liferay.saml.impl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.51"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43819"
}, {
"type" : "WEB",
"url" : "https://github.com/liferay/liferay-portal/commit/433dff5edae4414fdc436b49a9edb62d721c84b5"
}, {
"type" : "WEB",
"url" : "https://github.com/liferay/liferay-portal/commit/da9105a61d788801797797a32583a4b76c902cdc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/liferay/liferay-portal"
}, {
"type" : "WEB",
"url" : "https://liferay.atlassian.net/browse/LPE-18159"
}, {
"type" : "WEB",
"url" : "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43819"
}, {
"type" : "WEB",
"url" : "https://osv.dev/vulnerability/GHSA-rpx3-f938-xj5q"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-24T17:28:45Z",
"nvd_published_at" : "2025-09-24T02:15:31Z"
}
}