Skip to main content

Liferay Commerce CVE-2025-43829

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-08 security@liferay.com
4.8
CVSS 4.0 · Vendor: liferay
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged Commerce user
  2. Delivery
    Upload crafted SVG into diagram-type product
  3. Exploit
    Script stored and served to victims
  4. Execution
    Victim views diagram page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven com.liferay.commerce:com.liferay.commerce.shop.by.diagram.web fix: 1.0.83

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

Vendor (liferay) PRIMARY 4.8 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (liferay).

CVSS VectorVendor: liferay

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
widely used enterprise portal/DXP, but Commerce diagram feature is a narrower subset
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:-:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:fix_pack_1:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:fix_pack_2:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:service_pack_1:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:service_pack_2:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:service_pack_3:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update1:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update10:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update11:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update12:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update13:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update14:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update15:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update16:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update17:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update18:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update19:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.3:update2:*:*:*:*:*:*
+ 99 more
CVE-2020-7961 CRITICAL POC
9.8 Mar 20

Remote code execution in Liferay Portal Community Edition (CE) versions prior to 7.2.1 CE GA2 allows unauthenticated rem

CVE-2025-4388 MEDIUM POC
6.9 May 06

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024

CVE-2019-16891 CRITICAL POC
9.8 Oct 04

Liferay Portal CE 6.2.5 allows remote command execution because of deserialization of a JSON payload. Rated critical sev

CVE-2020-13445 HIGH POC
8.8 Jun 10

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

CVE-2018-10795 HIGH POC
8.8 May 07

Liferay 6.2.x and before has an FCKeditor configuration that allows an attacker to upload or transfer files of dangerous

CVE-2016-3670 MEDIUM POC
6.1 Jun 13

Cross-site scripting (XSS) vulnerability in users.jsp in the Profile Search functionality in Liferay before 7.0.0 CE RC1

CVE-2019-11444 HIGH POC
7.2 Apr 22

An issue was discovered in Liferay Portal CE 7.1.2 GA3. Rated high severity (CVSS 7.2), this vulnerability is remotely e

CVE-2025-4576 MEDIUM POC
6.9 Aug 08

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.133, and Liferay DXP 2025

CVE-2022-42118 MEDIUM POC
6.1 Nov 15

A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Lifera

CVE-2017-17868 MEDIUM POC
6.1 Dec 27

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_

CVE-2024-25608 MEDIUM POC
6.1 Feb 20

HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 be

CVE-2022-42120 CRITICAL
9.8 Nov 15

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy