Vulnerabilities in pkg:maven/com.liferay.commerce/com.liferay.commerce.product.type.virtual.service
PACKAGECVE-2025-43808 is a MODERATE remote code execution vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Com.liferay.commerce.product.type.virtual.service libraries in the Maven ecosystem. The issue involves liferay portal commerce component has incorrect permission assignment for critical resource. Remediation is available by upgrading affected packages to version 4.0.47.
pkg:maven/com.liferay.commerce/com.liferay.commerce.product.type.virtual.service
Vulnerability advisories affecting package pkg:maven/com.liferay.commerce/com.liferay.commerce.product.type.virtual.service. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-chr3-w547-85hw | CVE-2025-43808 | MODERATE | Liferay Portal Commerce component has Incorrect Permission Assignment for Critical Resource |
CVE-2025-43808 at a Glance
How to Fix CVE-2025-43808
To remediate this vulnerability, upgrade all affected Com.liferay.commerce.product.type.virtual.service 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.commerce</groupId>
<artifactId>com.liferay.commerce.product.type.virtual.service</artifactId>
<version>4.0.47</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.commerce
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-43808, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.liferay.commerce
Analyze the terminal output to locate any version of Com.liferay.commerce.product.type.virtual.service in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.47), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.liferay.commerce 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.commerce.product.type.virtual.service, 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-43808 Affected Com.liferay.commerce.product.type.virtual.service Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.liferay.commerce:com.liferay.commerce.product.type.virtual.service
|
Maven |
< 4.0.47
|
4.0.47
|
References
Frequently Asked Questions
What is CVE-2025-43808?
Which Com.liferay.commerce.product.type.virtual.service versions are affected?
What version fixes CVE-2025-43808?
Is com.liferay.commerce.product.type.virtual.service affected?
What CWE is associated with CVE-2025-43808?
How can I check Maven dependencies for CVE-2025-43808?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-chr3-w547-85hw",
"modified" : "2025-12-16T23:46:58Z",
"published" : "2025-09-19T21:31:21Z",
"aliases" : [ "CVE-2025-43808" ],
"summary" : "Liferay Portal Commerce component has Incorrect Permission Assignment for Critical Resource",
"details" : "The Commerce component in Liferay Portal 7.3.0 through 7.4.3.112, and Liferay DXP 2023.Q4.0 through 2023.Q4.8, 2023.Q3.1 through 2023.Q3.10, 7.4 GA through update 92, and 7.3 Service Pack 3 through update 35 saves virtual products uploaded to Documents and Media with guest view permission, which allows remote attackers to access and download virtual products for free via a crafted URL.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.liferay.commerce:com.liferay.commerce.product.type.virtual.service"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.47"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43808"
}, {
"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-43808"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-19T23:05:46Z",
"nvd_published_at" : "2025-09-19T21:15:35Z"
}
}