Liferay DXP CVE-2025-43821
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege content/catalog user
-
DeliveryInject crafted script into Product Name field
-
ExploitPayload stored in Commerce Product data
-
ExecutionVictim loads Product Comparison Table widget
-
ImpactScript executes in victim browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a Liferay Commerce deployment that uses the Commerce Product Comparison Table widget, plus an authenticated account with privileges to create or edit a Commerce Product and write to its Name text field (PR:L). Exploitation is a stored/persistent XSS, so it only triggers when a victim actively navigates to and renders the comparison table containing the malicious product (UI:A). Limiting factors: attacker must be authenticated with catalog-edit rights, the Commerce module and this specific widget must be deployed and in use, and a separate victim must view the affected table - there is no unauthenticated or no-interaction path. |
| Impact | This is a low-to-moderate priority, stored cross-site scripting flaw (CWE-79) rather than a critical issue. The vendor-supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N) scores 4.8 (Medium), and all signals are internally consistent: network-reachable but requiring low-level privileges (PR:L - an authenticated user able to create or edit a Commerce Product) plus active victim interaction (UI:A - someone must view the rendered comparison table). Impact is limited to Low confidentiality and Low integrity with no availability or subsequent-system impact. The EPSS score of 0.22% (12th percentile) corroborates low expected exploitation likelihood, and there is no CISA KEV listing and no public exploit identified, so there is no evidence of active exploitation or weaponization. No signals conflict here - the CVSS, EPSS, and absence of KEV/POC all point the same direction: a genuine but low-urgency vulnerability best handled through routine patching. The authentication requirement (PR:L) is the key mitigating factor that keeps this well below the threshold of an unauthenticated, wormable web flaw. |
| Exploit ScenarioDerived | An authenticated user with permission to create or edit Commerce catalog entries injects a malicious script payload into a Commerce Product's Name text field. When another user (for example a shopper or administrator) loads a page containing the Commerce Product Comparison Table widget, the stored payload executes in their browser, potentially stealing session data or performing actions in their context. No public exploit code is identified at time of analysis, and successful exploitation requires the victim to actively view the affected widget. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Stored cross-site scripting in the Liferay Commerce Product Comparison Table widget affects Liferay Portal 7.4.0 through 7.4.3.111 and Liferay DXP 7.4 GA through update 92, 2023.Q3.1 through 2023.Q3.8, and 2023.Q4.0 through 2023.Q4.5, letting an authenticated user who can create or edit Commerce Products inject arbitrary web script or HTML into a product's Name field so it executes in the browser of a victim who views the comparison table containing that product. Exploitation requires the Commerce module and this specific widget to be deployed, an attacker account with catalog-edit rights (PR:L), and victim interaction (UI:A/R); no public exploit identified at time of analysis and EPSS is 0.22% (12th percentile), making this a low-to-moderate priority stored XSS rather than a critical issue.
RemediationAI
Patch available per vendor advisory: consult the Liferay security advisory at https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43821 for the exact fixed Portal 7.4.x / DXP service pack or fix pack and apply the vendor-released patched version rather than relying on configuration alone. If an immediate upgrade is not possible, reduce exposure by removing or disabling the Commerce Product Comparison Table widget where it is not required (side effect: loss of that storefront feature), restricting who can create or edit Commerce Products and their Name fields to a small trusted catalog team (side effect: tighter operational workflow and added administration overhead), and reviewing or sanitizing existing product names for stored script or HTML (side effect: manual effort and possible false positives). A web application firewall or a restrictive Content-Security-Policy can add defense in depth, but neither fixes the underlying missing output encoding and both carry tuning and compatibility trade-offs.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 stored/persistent cross-site scripting issue in Liferay's Commerce Product Comparison Table widget, a Java-based portlet within the Liferay Portal/DXP digital experience platform (CPE cpe:2.3:a:liferay:digital_experience_platform). The Commerce Product Name field is intended for trusted catalog administrators, but the widget renders that stored value into the comparison table without sufficient contextual output encoding or escaping, so script or HTML injected there is persisted server-side and later executed in the origin of any user who loads the table. Because the payload is stored in product data rather than supplied per request, the issue is stored rather than reflected; the authoritative CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects the need for an authenticated catalog-editing account, victim interaction, and limited confidentiality/integrity impact within a changed scope. Liferay published a known-vulnerabilities advisory for CVE-2025-43821.
Know when Liferay Portal gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated catalog editor stores the payload (PR:L), a victim must render the widget (UI:R), and script executing in the victim's browser crosses a trust boundary (S:C) with limited C/I impact.
Primary rating from Vendor (liferay).
CVSS VectorVendor: liferay
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Liferay Portal
View allRemote code execution in Liferay Portal Community Edition (CE) versions prior to 7.2.1 CE GA2 allows unauthenticated rem
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024
Liferay Portal CE 6.2.5 allows remote command execution because of deserialization of a JSON payload. Rated critical sev
In Liferay Portal before 7.3.2 and Liferay DXP 7.0 before fix pack 92, 7.1 before fix pack 18, and 7.2 before fix pack 6
Liferay 6.2.x and before has an FCKeditor configuration that allows an attacker to upload or transfer files of dangerous
Cross-site scripting (XSS) vulnerability in users.jsp in the Profile Search functionality in Liferay before 7.0.0 CE RC1
An issue was discovered in Liferay Portal CE 7.1.2 GA3. Rated high severity (CVSS 7.2), this vulnerability is remotely e
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.133, and Liferay DXP 2025
A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Lifera
In Liferay Portal 6.1.0, the tags section has XSS via a Public Render Parameter (p_r_p) value, as demonstrated by p_r_p_
HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 be
A SQL injection vulnerability in the Fragment module in Liferay Portal 7.3.3 through 7.4.3.16, and Liferay DXP 7.3 befor
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB