CVE-2025-43829: Com.liferay.commerce.shop.by.diagram.web Remote Code Execution Vulnerability
MODERATECVE-2025-43829 is a MODERATE remote code execution vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Com.liferay.commerce.shop.by.diagram.web libraries in the Maven ecosystem. The issue involves liferay portal commerce shop is vulnerable to stored xss through svg file. Remediation is available by upgrading affected packages to version 1.0.83.
CVE-2025-43829 at a Glance
How to Fix CVE-2025-43829
To remediate this vulnerability, upgrade all affected Com.liferay.commerce.shop.by.diagram.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.
<dependency>
<groupId>com.liferay.commerce</groupId>
<artifactId>com.liferay.commerce.shop.by.diagram.web</artifactId>
<version>1.0.83</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-43829, 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.shop.by.diagram.web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.83), 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Com.liferay.commerce.shop.by.diagram.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
CVE-2025-43829 Affected Com.liferay.commerce.shop.by.diagram.web Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.liferay.commerce:com.liferay.commerce.shop.by.diagram.web
|
Maven |
≥ 1.0.41
< 1.0.83
|
1.0.83
|
References
Frequently Asked Questions
What is CVE-2025-43829?
Which Com.liferay.commerce.shop.by.diagram.web versions are affected?
What version fixes CVE-2025-43829?
Is com.liferay.commerce.shop.by.diagram.web affected?
What CWE is associated with CVE-2025-43829?
How can I check Maven dependencies for CVE-2025-43829?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-893r-jr58-3hxr",
"modified" : "2025-12-17T00:15:50Z",
"published" : "2025-10-08T15:32:27Z",
"aliases" : [ "CVE-2025-43829" ],
"summary" : "Liferay Portal Commerce Shop is vulnerable to Stored XSS through SVG file",
"details" : "There is a Stored Cross-Site Scripting (XSS) vulnerability in diagram type products in Commerce in Liferay Portal 7.4.3.18 through 7.4.3.111, and Liferay DXP 2023.Q4.0 through 2023.Q4.5, 2023.Q3.1 through 2023.Q3.8, and 7.4 update 18 through update 92. This vulnerability allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a SVG file.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.liferay.commerce:com.liferay.commerce.shop.by.diagram.web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.41"
}, {
"fixed" : "1.0.83"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43829"
}, {
"type" : "WEB",
"url" : "https://github.com/liferay/liferay-portal/commit/288ba1f41f8c3374c80d7af27346eeebb8c780d0"
}, {
"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-43829"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-09T15:32:05Z",
"nvd_published_at" : "2025-10-08T14:15:42Z"
}
}