CVE-2025-4581: Release.portal.bom Liferay Portal And Liferay DXP Vulnerability

MODERATE
Advisory Identifier: GHSA-6v93-frf9-2rp8
CWE-918
Published
Advisory Summary

CVE-2025-4581 is a MODERATE liferay portal and liferay dxp vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Release.portal.bom libraries in the Maven ecosystem. The issue involves liferay portal and liferay dxp vulnerable to server-side request forgery. Remediation is available by upgrading affected packages to version 2025.Q1.5, 2024.Q1.16.

CVE-2025-4581 at a Glance

CVE Identifier CVE-2025-4581
GHSA Identifier GHSA-6v93-frf9-2rp8
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Release.portal.bom
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-4581

To remediate this vulnerability, upgrade all affected Release.portal.bom 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.portal:release.portal.bom fixed: Latest secure release
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.portal.bom</artifactId>
    <version>Latest secure release</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: 2025.Q1.5
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>2025.Q1.5</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: Latest secure release
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>Latest secure release</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: Latest secure release
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>Latest secure release</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: Latest secure release
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>Latest secure release</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: 2024.Q1.16
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>2024.Q1.16</version>
</dependency>
com.liferay.portal:release.dxp.bom fixed: Latest secure release
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>release.dxp.bom</artifactId>
    <version>Latest secure release</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.portal

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-4581, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.liferay.portal

Analyze the terminal output to locate any version of Release.portal.bom in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2025.Q1.5), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.liferay.portal 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Release.portal.bom, 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

Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.4, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.15, and 7.4 GA through update 92 allow a pre-authentication blind SSRF vulnerability in the portal-settings-authentication-opensso-web component due to improper validation of user-supplied URLs. An attacker can exploit this issue to force the server to make arbitrary HTTP requests to internal systems, potentially leading to internal network enumeration or further exploitation.

CVE-2025-4581 Affected Release.portal.bom Versions

7 component(s)
Fixed Versions:
2025.Q1.52024.Q1.16
Product / Package Ecosystem Affected Versions Fixed Version
com.liferay.portal:release.portal.bom
Maven
≥ 7.4.0
≤ 7.4.3.132
com.liferay.portal:release.dxp.bom
Maven
≥ 2025.Q1.0
< 2025.Q1.5
2025.Q1.5
com.liferay.portal:release.dxp.bom
Maven
≥ 2024.Q4.0
≤ 2024.Q4.7
com.liferay.portal:release.dxp.bom
Maven
≥ 2024.Q3.1
≤ 2024.Q3.13
com.liferay.portal:release.dxp.bom
Maven
≥ 2024.Q2.0
≤ 2024.Q2.13
com.liferay.portal:release.dxp.bom
Maven
≥ 2024.Q1.0
< 2024.Q1.16
2024.Q1.16
com.liferay.portal:release.dxp.bom
Maven
≤ 7.4.13.u92

References

Frequently Asked Questions

What is CVE-2025-4581?
CVE-2025-4581 is a security vulnerability in Release.portal.bom involving Liferay Portal and Liferay DXP vulnerable to Server-Side Request Forgery under CWE-918: Server-Side Request Forgery (SSRF).
Which Release.portal.bom versions are affected?
Affected versions include releases prior to 2025.Q1.5, 2024.Q1.16 across affected packages: com.liferay.portal:release.portal.bom, com.liferay.portal:release.dxp.bom.
What version fixes CVE-2025-4581?
Upgrading to 2025.Q1.5, 2024.Q1.16 (or the latest patched release for your respective branch) resolves the vulnerability.
Is release.portal.bom affected?
Yes, com.liferay.portal:release.portal.bom is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is release.dxp.bom affected?
Yes, com.liferay.portal:release.dxp.bom is affected in releases prior to 2025.Q1.5, Latest secure release, 2024.Q1.16. Upgrade your dependency to 2025.Q1.5, Latest secure release, 2024.Q1.16 or later.
What CWE is associated with CVE-2025-4581?
CVE-2025-4581 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Maven dependencies for CVE-2025-4581?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.liferay.portal'. 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-6v93-frf9-2rp8",
  "modified" : "2025-12-20T03:23:20Z",
  "published" : "2025-08-09T06:30:28Z",
  "aliases" : [ "CVE-2025-4581" ],
  "summary" : "Liferay Portal and Liferay DXP vulnerable to Server-Side Request Forgery",
  "details" : "Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.4, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.15, and 7.4 GA through update 92 allow a pre-authentication blind SSRF vulnerability in the portal-settings-authentication-opensso-web component due to improper validation of user-supplied URLs. An attacker can exploit this issue to force the server to make arbitrary HTTP requests to internal systems, potentially leading to internal network enumeration or further exploitation.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.portal.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.4.0"
      }, {
        "last_affected" : "7.4.3.132"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2025.Q1.0"
      }, {
        "fixed" : "2025.Q1.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2025.Q1.4"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.Q4.0"
      }, {
        "last_affected" : "2024.Q4.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.Q3.1"
      }, {
        "last_affected" : "2024.Q3.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.Q2.0"
      }, {
        "last_affected" : "2024.Q2.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.Q1.0"
      }, {
        "fixed" : "2024.Q1.16"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2024.Q1.15"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay.portal:release.dxp.bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "7.4.13.u92"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-4581"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/liferay/liferay-portal"
  }, {
    "type" : "WEB",
    "url" : "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-4581"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-11T17:49:09Z",
    "nvd_published_at" : "2025-08-09T05:15:29Z"
  }
}