Liferay Commerce CVE-2025-43829
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Commerce user
-
DeliveryUpload crafted SVG into diagram-type product
-
ExploitScript stored and served to victims
-
ExecutionVictim views diagram page
-
ImpactScript executes in victim browser session
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 an authenticated account (PR:L) with permission to create or edit diagram-type products within the Liferay Commerce module, and the ability to upload/inject a crafted SVG file carrying a script payload. Exploitation further requires active user interaction (UI:A) - a victim must view the affected diagram/product for the stored script to fire. Limiting factors: the Commerce module and its diagram-type product feature must be deployed and in use; the attacker cannot be fully unauthenticated; and impact is confined to the victim's browser context (no availability impact, limited confidentiality/integrity). This narrows realistic risk to environments where many lower-trust users can author Commerce diagram content. |
| Impact | This is a genuinely medium/low-priority issue, not a high-urgency one. The CVSS 4.0 score of 4.8 (Medium) is consistent across all signals: the vector AV:N/AC:L/PR:L/UI:A shows a stored XSS that requires an authenticated attacker (PR:L) with access to the Commerce diagram-type feature plus active victim interaction (UI:A), and impact is limited (VC:L/VI:L/VA:N). EPSS reinforces low real-world risk at 0.22% (12th percentile). There is no CISA KEV listing and no public exploit identified at time of analysis, so there is no public evidence of active exploitation. No SSVC decision data was provided. All signals align - low exploitation probability, no exploitation evidence, bounded impact - so this does not warrant emergency patching but should be remediated in normal cycles, prioritized for internet-facing Liferay Commerce deployments where many lower-privileged users can author diagram content. One data discrepancy: the CPE list enumerates Liferay DXP 7.3 builds, while the description states affected versions are Portal 7.4.3.18-7.4.3.111 and DXP 2023.Q4/2023.Q3/7.4 update 18-92 - verify the exact affected build set against the vendor advisory before scoping. |
| Exploit ScenarioDerived | A low-privileged but authenticated Liferay Commerce user uploads or edits a diagram-type product and embeds a crafted SVG file containing a malicious script payload. When another user - potentially an administrator or customer - later views that diagram/product page, the stored script executes in their browser session, enabling session-context actions such as cookie theft or UI redressing. No public exploit code is identified, so an attacker would need to craft the SVG payload themselves. |
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 diagram-type product feature lets a user who can author or edit Commerce products upload a crafted SVG that carries script, which then executes in the browser of anyone who views the affected diagram or product page. Exploitation requires an authenticated account with Commerce content-authoring permissions (PR:L) plus victim interaction (UI:R), and the impact is scoped to the victim's browser session (limited confidentiality and integrity, no availability impact). Risk is genuinely medium/low priority: the Commerce module with diagram-type products must be deployed, EPSS is only 0.22% (12th percentile), and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: consult the Liferay security advisory at https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43829 for the fixed Portal 7.4.3.x build, DXP quarterly release, and 7.4 update level, and upgrade to the release named there - Liferay typically addresses this class by sanitizing SVG upload/rendition handling and by tightening the default handling of active content. Until the upgrade is applied, apply these compensating controls with their trade-offs: disable or remove the diagram-type product feature and reject SVG uploads in the Commerce media/document library, which eliminates the injection vector but breaks any product catalog that relies on diagrams; restrict the Commerce product authoring and asset-upload permissions to a small, trusted set of roles, which shrinks the population of potential injectors but does not protect those users or their viewers; re-encode or flatten existing and newly uploaded SVGs to PNG/sanitized SVG on ingest, which blocks script payloads but may degrade vector diagrams and requires re-processing of stored assets; and serve uploaded binary assets from a separate origin or with Content-Disposition: attachment plus a strict Content-Security-Policy (script-src 'self', no inline) on portal pages, which neutralizes execution in most browsers but can break legitimate inline-script customizations. No public exploit code exists at time of analysis and EPSS is low (0.22%), so this can be scheduled within a normal patch cycle rather than emergency change.
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
CWE-79 (improper neutralization of input during web page generation) in its stored variant: SVG is an XML-based image format that can legitimately embed <script> elements, <foreignObject> HTML islands, event-handler attributes such as onload/onerror, and javascript: URI references in xlink:href. When Liferay Commerce stores an uploaded SVG as a diagram-type product asset and later renders it without sanitizing or neutralizing active content - and without forcing a non-rendering content type or a separate origin - the embedded script executes in the origin of the Liferay portal, giving the attacker script access to the victim's authenticated session context. Because the payload persists in the product record, every subsequent viewer is exposed, which is what makes the flaw stored rather than reflected. Note the versioning split: the description covers Liferay Portal 7.4.3.18 through 7.4.3.111, Liferay DXP 2023.Q4.0 through 2023.Q4.5, 2023.Q3.1 through 2023.Q3.8, and 7.4 update 18 through update 92, while the supplied CPE inventory additionally enumerates DXP 7.3 fix pack, service pack, and update levels - so environments running older 7.3 branches should be confirmed against the vendor advisory rather than assumed unaffected. Authentication requirements: authenticated (PR:L in the assessed vector); the attacker must hold a role permitting creation or editing of diagram-type Commerce products.
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 attacker injects the payload (PR:L) and a victim must view it (UI:R); stored XSS crosses into the victim's browser context (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (liferay).
CVSS VectorVendor: liferay
DescriptionCVE.org
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 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a SVG file.
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