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

PACKAGE
Advisory Identifier: GHSA-w3cr-3xw2-rp78
Advisory Summary

CVE-2025-43759 is a MODERATE liferay portal users are able vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Com.liferay.layout.impl libraries in the Maven ecosystem. The issue involves liferay portal users are able to add system admin portlets to pages. Remediation is available by upgrading affected packages to version 6.0.147.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

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

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.liferay/com.liferay.layout.impl. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-w3cr-3xw2-rp78 CVE-2025-43759 MODERATE Liferay Portal users are able to add system admin portlets to pages
GHSA-j5gv-w838-mmcx CVE-2023-44310 CRITICAL Liferay Portal and Liferay DXP Vulnerable to XSS via the Page Tree Menu

CVE-2025-43759 at a Glance

CVE Identifier CVE-2025-43759
GHSA Identifier GHSA-w3cr-3xw2-rp78
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Com.liferay.layout.impl
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-43759

To remediate this vulnerability, upgrade all affected Com.liferay.layout.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.layout.impl fixed: 6.0.147
<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.liferay.layout.impl</artifactId>
    <version>6.0.147</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-43759, 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.layout.impl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.147), 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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Com.liferay.layout.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

Liferay Portal versions 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.14 and 7.4 GA through update 92 allows admin users of a virtual instance to add pages that are not in the default/main virtual instance, then any tenant can create a list of all other tenants.

CVE-2025-43759 Affected Com.liferay.layout.impl Versions

1 component(s)
Fixed Versions:
6.0.147
Product / Package Ecosystem Affected Versions Fixed Version
com.liferay:com.liferay.layout.impl
Maven
< 6.0.147
6.0.147

References

Frequently Asked Questions

What is CVE-2025-43759?
CVE-2025-43759 is a security vulnerability in Com.liferay.layout.impl involving Liferay Portal users are able to add system admin portlets to pages under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Com.liferay.layout.impl versions are affected?
Affected versions include releases prior to 6.0.147 across affected packages: com.liferay:com.liferay.layout.impl.
What version fixes CVE-2025-43759?
Upgrading to 6.0.147 (or the latest patched release for your respective branch) resolves the vulnerability.
Is com.liferay.layout.impl affected?
Yes, com.liferay:com.liferay.layout.impl is affected in releases prior to 6.0.147. Upgrade your dependency to 6.0.147 or later.
What CWE is associated with CVE-2025-43759?
CVE-2025-43759 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check Maven dependencies for CVE-2025-43759?
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-w3cr-3xw2-rp78",
  "modified" : "2025-12-20T02:50:08Z",
  "published" : "2025-08-22T21:31:16Z",
  "aliases" : [ "CVE-2025-43759" ],
  "summary" : "Liferay Portal users are able to add system admin portlets to pages",
  "details" : "Liferay Portal versions 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.14 and 7.4 GA through update 92 allows admin users of a virtual instance to add pages that are not in the default/main virtual instance, then any tenant can create a list of all other tenants.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay:com.liferay.layout.impl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.0.147"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43759"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/liferay/liferay-portal/commit/2e29e6733bc0e058bef89d16faac542bf2585346"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/liferay/liferay-portal/commit/e8cbc7c27e5ed51c4079dd62738713f31afb46f7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/liferay/liferay-portal"
  }, {
    "type" : "WEB",
    "url" : "https://liferay.atlassian.net/browse/LPE-18185"
  }, {
    "type" : "WEB",
    "url" : "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43759"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-25T17:53:32Z",
    "nvd_published_at" : "2025-08-22T19:15:38Z"
  }
}