Liferay Portal
CVE-2025-62246
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged portal user
-
DeliveryInject script into profile name field
-
ExploitMention or comment to deliver payload
-
ExecutionVictim views rendered name, script executes
-
ImpactHijack 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. |
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 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
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
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
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.
Primary rating from Vendor (liferay).
CVSS VectorVendor: liferay
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
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