Skip to main content

Liferay DXP CVE-2025-43821

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-privilege content/catalog user
  2. Delivery
    Inject crafted script into Product Name field
  3. Exploit
    Payload stored in Commerce Product data
  4. Execution
    Victim loads Product Comparison Table widget
  5. Impact
    Script 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.

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

maven com.liferay.commerce:com.liferay.commerce.product.service fix: 6.0.134

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

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 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.

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

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
widely-used enterprise portal, but Commerce Comparison Table widget is a narrower feature
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.4:-:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update1:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update10:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update11:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update12:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update13:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update14:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update15:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update16:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update17:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update18:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update19:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update2:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update20:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update21:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update22:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update23:*:*:*:*:*:*
cpe:2.3:a:liferay:digital_experience_platform:7.4:update24:*:*:*:*:*:*
+ 76 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