Vulnerabilities in pkg:maven/com.liferay/com.liferay.saml.impl

PACKAGE
Advisory Identifier: GHSA-rpx3-f938-xj5q
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.liferay/com.liferay.saml.impl

1 Known Advisory Record(s)

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

CVE Identifier CVE-2025-43819
GHSA Identifier GHSA-rpx3-f938-xj5q
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Com.liferay.saml.impl
Package Ecosystem Maven
Published Date
Last Updated

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.

com.liferay:com.liferay.saml.impl fixed: 5.0.51
<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.liferay.saml.impl</artifactId>
    <version>5.0.51</version>
</dependency>
Verify Direct and Transitive Dependencies

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

### 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.131` through `7.4.3.121` * **Liferay DXP:** * `2024.Q4.0`–`2024.Q4.3` * `2024.Q3.1`–`2024.Q3.13` * `2024.Q2.0`–`2024.Q2.13` * `2024.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.

CVE-2025-43819 Affected Com.liferay.saml.impl Versions

1 component(s)
Fixed Versions:
5.0.51
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?
CVE-2025-43819 is a security vulnerability in Com.liferay.saml.impl involving Liferay Portal and DXP does not properly expire sessions under CWE-613: Insufficient Session Expiration.
Which Com.liferay.saml.impl versions are affected?
Affected versions include releases prior to 5.0.51 across affected packages: com.liferay:com.liferay.saml.impl.
What version fixes CVE-2025-43819?
Upgrading to 5.0.51 (or the latest patched release for your respective branch) resolves the vulnerability.
Is com.liferay.saml.impl affected?
Yes, com.liferay:com.liferay.saml.impl is affected in releases prior to 5.0.51. Upgrade your dependency to 5.0.51 or later.
What CWE is associated with CVE-2025-43819?
CVE-2025-43819 is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check Maven dependencies for CVE-2025-43819?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.liferay'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}