CVE-2025-43829: Stored XSS Vulnerability in Liferay Commerce Shop by Diagram Web

Summary

08/10/2025
Yes i
Moderate
4.8

CVE-2025-43829: Liferay Portal Commerce Shop is vulnerable to Stored XSS through SVG file. Affects com.liferay.commerce:com.liferay.commerce.shop.by.diagram.web versions >= 1.0.41, < 1.0.83. Fixed in 1.0.83. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package 'com.liferay.commerce:com.liferay.commerce.shop.by.diagram.web' is part of the Liferay Commerce suite, which provides tools for managing online commerce, including product diagrams. This package allows users to create and manage diagram-type products within the Liferay Portal. However, it has been found to be vulnerable to a stored Cross-Site Scripting (XSS) attack, which can compromise the security of web applications using this package.

Vulnerability Detail

The stored XSS vulnerability exists in the handling of SVG files within the diagram type products in Liferay Portal versions 7.4.3.18 to 7.4.3.111 and Liferay DXP versions 2023.Q4.0 to 2023.Q4.5, 2023.Q3.1 to 2023.Q3.8, and 7.4 update 18 to update 92. Attackers can exploit this vulnerability by injecting arbitrary web scripts or HTML into SVG files, which can then be executed in the context of a user's browser, potentially leading to data theft, session hijacking, or other malicious activities.

How To Fix

Minimum fixed version

1.0.83

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not possible, consider disabling the feature that allows SVG file uploads or sanitizing user inputs to prevent the execution of malicious scripts.

Conclusion

The stored XSS vulnerability in the Liferay Commerce Shop by Diagram Web package poses a significant risk to applications using affected versions. It is crucial to update to the patched version 1.0.83 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for com.liferay.commerce:com.liferay.commerce.shop.by.diagram.web →

Share this vulnerability

FAQ

The vulnerability is a stored Cross-Site Scripting (XSS) issue that allows attackers to inject malicious scripts into SVG files.

Affected versions include Liferay Portal 7.4.3.18 to 7.4.3.111 and Liferay DXP 2023.Q4.0 to 2023.Q4.5, among others.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring signup.

Exploitation of this vulnerability can lead to data theft, session hijacking, and other malicious activities affecting users of the application.

As a temporary measure, you can disable SVG file uploads or implement input sanitization to prevent script execution.

How To Fix

Minimum fixed version

1.0.83

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback