Skip to main content

Liferay Portal CVE-2025-62246

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-13 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 portal user
  2. Delivery
    Inject script into profile name field
  3. Exploit
    Mention or comment to deliver payload
  4. Execution
    Victim views rendered name, script executes
  5. Impact
    Hijack session or act as victim

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 Liferay account (PR:L) with the ordinary ability to edit one's own first/middle/last name fields - a default capability for standard users. The malicious name must then be rendered through a mention or comment feature (page comments widget, blog entry comments, document and media comments, message board messages, wiki page comments, or other mention-supporting apps), and a second user must actively view that content for the stored payload to fire (UI:A). Limiting factors: exploitation is gated by authentication and by requiring victim interaction, and impact is amplified only if the viewing user holds elevated privileges; no non-default configuration is needed since mentions and comments are standard portal features.

Impact

This is a low-to-moderate priority issue rather than an urgent one, and the available signals are consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L) describes a network-reachable but authenticated (PR:L) stored XSS that requires victim interaction (UI:A) and yields only LOW impact across confidentiality, integrity, and availability with no subsequent-system impact - hence the modest 4.8 base score. EPSS reinforces this: a 0.22% exploitation probability at the 12th percentile indicates very low likelihood of near-term mass exploitation. There is no CISA KEV listing and no public exploit identified at time of analysis, so there is no evidence of active exploitation. The one caveat is that stored XSS can be chained (e.g., to hijack an admin session if a privileged user views the payload), which can elevate real-world impact beyond the LOW base metrics, but nothing in the provided data confirms such chaining. Net: a genuine defect worth patching in routine cycles, not an emergency.

Exploit ScenarioDerived

A low-privileged but authenticated Liferay user edits their own profile and places a malicious script in their first, middle, or last name field, then @-mentions or comments where that name is rendered (page comments, blog/document comments, message boards, or wiki pages). When another user - potentially an administrator - views the comment or mention, the stored script executes in their browser session. No public exploit code was identified at time of analysis, and because UI:A applies, exploitation depends on a victim actually viewing the attacker-controlled content.

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 Liferay Portal and Liferay DXP lets an authenticated user inject script or HTML through the first, middle, or last name profile fields, with the payload executing when another user views a mention or comment in features such as page comments, blog comments, document and media comments, message boards, or wiki page comments. Affected versions include 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, along with older unsupported releases. The CVSS 4.0 score is 4.8 with a low EPSS of 0.22%; no public exploit code or CISA KEV activity is identified at time of analysis, and exploitation requires an authenticated account plus victim interaction.

RemediationAI

The provided intelligence does not specify an exact fixed release, so the primary action is to upgrade Liferay Portal and Liferay DXP to the patched version identified in Liferay's advisory at https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62246; confirm the fixed version against that advisory rather than assuming a version from the affected ranges. If immediate upgrade is not possible, restrict or disable the affected collaboration surfaces-page comments, blog comments, document and media comments, message boards, wiki page comments, and mention rendering-accepting the loss of those collaboration features; alternatively, restrict self-service profile editing or require administrative review of name-field changes for untrusted users, which reduces exposure but adds account-management overhead. Add server-side output encoding and input validation for profile name fields where mentions/comments are rendered, and deploy targeted WAF or monitoring rules for script/HTML in name fields, recognizing that WAF coverage for stored XSS is imperfect and may cause false positives for legitimate names.

Affected Packages

maven com.liferay:com.liferay.mentions.web fix: 6.0.35

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

Liferay Portal and Liferay DXP are Java-based digital experience platforms whose user profiles, comments, message boards, blogs, documents and media, wiki, and mention features render user-supplied content across widgets. The root cause is CWE-79: names stored in profile fields are insufficiently neutralized or output-encoded when inserted into mention/comment rendering contexts, so a stored payload persists in the profile and executes in another user's browser when that content is displayed. The CPE data identifies liferay:digital_experience_platform and liferay:liferay_portal; the supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N, and the independent assessment maps to CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, indicating an authenticated remote attacker with low impact and required victim interaction rather than unauthenticated mass exploitation.

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:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated low-privileged attacker (PR:L) stores script executed when a victim views it (UI:R); XSS crosses into the victim's browser authority (S:C) with limited confidentiality/integrity impact and no availability loss.

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:L/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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Multiple stored cross-site scripting (XSS) vulnerabilities in Liferay Portal 7.4.0 through 7.4.3.111, and older unsupported versions, and Liferay DXP 2023.Q4.0 through 2023.Q4.5, 2023.Q3.1 through 2023.Q3.8, 7.4 GA through update 92, and older unsupported versions allow remote authenticated users to inject arbitrary web script or HTML via a crafted payload injected into a user’s first, middle or last name text field to (1) page comments widget, (2) blog entry comments, (3) document and media document comments, (4) message board messages, (5) wiki page comments or (6) other widgets/apps that supports mentions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
enterprise portal/DXP platform, common in large orgs but not everywhere
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:*:*:*:*:*:*:*:*
cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*
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