Vulnerabilities in pkg:maven/com.liferay/com.liferay.frontend.js.web

PACKAGE
Advisory Identifier: GHSA-mm62-gwj5-j285
Advisory Summary

CVE-2025-43758 is a MODERATE liferay portal's unauthenticated users can vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Com.liferay.frontend.js.web libraries in the Maven ecosystem. The issue involves liferay portal's unauthenticated users can access loaded files via url before submitting the object entry. Remediation is available by upgrading affected packages to version 5.0.125, 1.0.65, 1.0.219.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.liferay/com.liferay.frontend.js.web

2 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-mm62-gwj5-j285 CVE-2025-43758 MODERATE Liferay Portal's unauthenticated users can access loaded files via URL before submitting the object entry
GHSA-r39x-3qq4-gxmr CVE-2021-38267 MODERATE Liferay Portal and Liferay DXP vulnerable to cross-site scripting (XSS) in edit blog entry page

CVE-2025-43758 at a Glance

CVE Identifier CVE-2025-43758
GHSA Identifier GHSA-mm62-gwj5-j285
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-552: Files or Directories Accessible to External Parties
Affected Product Com.liferay.frontend.js.web
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-43758

To remediate this vulnerability, upgrade all affected Com.liferay.frontend.js.web 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.frontend.js.web fixed: 5.0.125
<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.liferay.frontend.js.web</artifactId>
    <version>5.0.125</version>
</dependency>
com.liferay:com.liferay.object.dynamic.data.mapping.form.field.type fixed: 1.0.65
<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.liferay.object.dynamic.data.mapping.form.field.type</artifactId>
    <version>1.0.65</version>
</dependency>
com.liferay:com.liferay.object.web fixed: 1.0.219
<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.liferay.object.web</artifactId>
    <version>1.0.219</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-43758, 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.frontend.js.web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.125), 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-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Com.liferay.frontend.js.web, 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.5, 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 allows unauthenticated users (guests) to access via URL files uploaded by object entry and stored in document_library

CVE-2025-43758 Affected Com.liferay.frontend.js.web Versions

3 component(s)
Fixed Versions:
5.0.1251.0.651.0.219
Product / Package Ecosystem Affected Versions Fixed Version
com.liferay:com.liferay.frontend.js.web
Maven
< 5.0.125
5.0.125
com.liferay:com.liferay.object.dynamic.data.mapping.form.field.type
Maven
< 1.0.65
1.0.65
com.liferay:com.liferay.object.web
Maven
< 1.0.219
1.0.219

References

Frequently Asked Questions

What is CVE-2025-43758?
CVE-2025-43758 is a security vulnerability in Com.liferay.frontend.js.web involving Liferay Portal's unauthenticated users can access loaded files via URL before submitting the object entry under CWE-552: Files or Directories Accessible to External Parties.
Which Com.liferay.frontend.js.web versions are affected?
Affected versions include releases prior to 5.0.125, 1.0.65, 1.0.219 across affected packages: com.liferay:com.liferay.frontend.js.web, com.liferay:com.liferay.object.dynamic.data.mapping.form.field.type, com.liferay:com.liferay.object.web.
What version fixes CVE-2025-43758?
Upgrading to 5.0.125, 1.0.65, 1.0.219 (or the latest patched release for your respective branch) resolves the vulnerability.
Is com.liferay.frontend.js.web affected?
Yes, com.liferay:com.liferay.frontend.js.web is affected in releases prior to 5.0.125. Upgrade your dependency to 5.0.125 or later.
Is com.liferay.object.dynamic.data.mapping.form.field.type affected?
Yes, com.liferay:com.liferay.object.dynamic.data.mapping.form.field.type is affected in releases prior to 1.0.65. Upgrade your dependency to 1.0.65 or later.
What CWE is associated with CVE-2025-43758?
CVE-2025-43758 is classified under CWE-552: Files or Directories Accessible to External Parties (The product makes files or directories accessible to unauthorized actors, even though they should not be.).
How can I check Maven dependencies for CVE-2025-43758?
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-mm62-gwj5-j285",
  "modified" : "2025-08-25T17:54:09Z",
  "published" : "2025-08-22T21:31:16Z",
  "aliases" : [ "CVE-2025-43758" ],
  "summary" : "Liferay Portal's unauthenticated users can access loaded files via URL before submitting the object entry",
  "details" : "Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.5, 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 allows unauthenticated users (guests) to access via URL files uploaded by object entry and stored in document_library",
  "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:com.liferay.frontend.js.web"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.125"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay:com.liferay.object.dynamic.data.mapping.form.field.type"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.65"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.liferay:com.liferay.object.web"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.219"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43758"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/liferay/liferay-portal/commit/bf036898c413b6733918f4bfeba59896f1abb34a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/liferay/liferay-portal/commit/ff4efcb59b6b9acf548d37787b8d4b3d1126fff8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/liferay/liferay-portal"
  }, {
    "type" : "WEB",
    "url" : "https://liferay.atlassian.net/browse/LPE-18186"
  }, {
    "type" : "WEB",
    "url" : "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43758"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-552" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-25T17:54:09Z",
    "nvd_published_at" : "2025-08-22T19:15:38Z"
  }
}