medium4.8
CVE-2025-43821
Liferay Portal is vulnerable to XSS through its Commerce Product's Name text field
Impact
Cross-site Scripting (XSS) vulnerability in the Commerce Product Comparison Table widget in Liferay Portal 7.4.0 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 GA through update 92 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a Commerce Product's Name text field.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.liferay.commerce:com.liferay.commerce.product.service | >= 6.0.5, < 6.0.134 | 6.0.134 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Digital Experience Platform | from 2023.q3.1 before 2023.q3.9 from 2023.q4.0 before 2023.q4.6 Version 7.4 |
| Liferay | Liferay Portal | from 7.4.0 before 7.4.3.112 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43821
- https://github.com/advisories/GHSA-fjrp-77f3-43xj
- https://nvd.nist.gov/vuln/detail/CVE-2025-43821
- https://github.com/liferay/liferay-portal/commit/433f82c03fac10167f1f811efb482d6010bac6db