Liferay Portal
CVE-2025-62255
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Liferay KB edit page
-
ExploitUpload attachment with crafted filename payload
-
ExecutionBrowser renders unsanitized filename
-
ImpactScript executes in own 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 user (PR:L) with permission to create or edit a Knowledge Base article and upload attachments, who must inject a crafted payload into an attachment's filename. Because it is SELF-XSS, the script executes only in the injecting user's own browser context - there is no cross-user execution path, so exploitation additionally requires social-engineering the victim into supplying the malicious filename themselves (reflected in UI:A and AC:H). Limiting factors: authentication requirement, active user interaction, and the self-contained (same-session) execution scope sharply reduce realistic impact. |
| Impact | This is a low-priority issue despite being network-reachable. The CVSS 4.0 vector (AV:N/AC:H/PR:L/UI:A, VC:L/VI:L) yields a base score of only 2.0, and every independent signal corroborates low real-world risk: EPSS is 0.21% (11th percentile), there is no CISA KEV listing, and no public exploit code was identified. Critically, this is explicitly a SELF cross-site script - the payload is injected into an attachment filename and executes only in the context of the user who performed the injection, so it does not cross user/trust boundaries without the victim being socially engineered into injecting the payload against themselves. The high attack complexity (AC:H) and required active user interaction (UI:A) in the vector reflect this self-XSS nature. The signals are consistent, not conflicting: low EPSS, no KEV, no POC, and a self-XSS classification all point the same direction. The main caveat is a data discrepancy on affected versions (see confidence_notes), which does not change the risk tier. |
| Exploit ScenarioDerived | An authenticated Liferay user editing a Knowledge Base article uploads an attachment whose filename contains a crafted HTML/script payload; when the edit page renders that filename, the script executes in that same user's browser. Because it is self-XSS, a realistic attack requires an adversary to socially-engineer the victim into pasting the malicious filename themselves, limiting impact to the user's own session. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Self-cross-site scripting in Liferay Portal and Liferay DXP lets an authenticated Knowledge Base editor store a crafted script or HTML payload in an attachment filename, which then executes in that same user's browser when the article edit page renders the filename. Affected releases are Liferay Portal 7.4.0 through 7.4.3.101, Liferay DXP 2023.Q3.1 through 2023.Q3.5 and 7.4 GA through update 92, and older unsupported versions; the CVSS 4.0 score is 2.0 and the assessed CVSS 3.1 vector is AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N. No public exploit has been identified at time of analysis, CISA KEV does not list this CVE, and EPSS is 0.21% (11th percentile), consistent with a low-priority, self-contained XSS requiring authentication and user interaction.
RemediationAI
No specific fixed version is identified in the provided data; apply the patched Liferay Portal or DXP release/update specified in the vendor advisory, confirming the corrected release beyond the last affected versions listed (Portal 7.4.3.101, DXP 7.4 update 92, and DXP 2023.Q3.5) with Liferay before upgrading. Until patched, restrict Knowledge Base article creation/edit and attachment-upload permissions to trusted roles, validate and HTML-encode attachment filenames server-side, and avoid uploading or reusing filenames supplied by untrusted parties in an active editing session; these reduce exposure but do not fix the underlying output-encoding defect. A Content Security Policy that disallows inline script adds defense in depth, with the trade-off that it can break legitimate inline scripts; see https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62255 for the authoritative remediation details.
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
The flaw is CWE-79 (improper neutralization of input during web page generation), specifically a self-XSS in the Knowledge Base article edit workflow where an attachment's filename is stored and later rendered without adequate HTML encoding. Because the payload is reflected back only to the user who supplied the filename, the script runs in the injecting user's own browser context rather than another user's session; there is no demonstrated cross-user execution path. The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N) and independent CVSS 3.1 assessment (AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N) both require an authenticated user with permission to create or edit Knowledge Base articles and upload attachments, plus active interaction to introduce the malicious filename. CPE data enumerates Liferay Digital Experience Platform 7.3 base, fix pack, service pack, and update variants, while the description covers Portal 7.4.x and DXP 2023.Q3/7.4 update ranges; the CPE mapping should be reconciled with the vendor advisory before scoping affected assets.
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:H/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Self-XSS requires authenticated access (PR:L) and social-engineering the victim to self-inject (AC:H, UI:R); impact stays in the user's own session (S:U) with low C/I and no availability effect.
Primary rating from Vendor (liferay).
CVSS VectorVendor: liferay
DescriptionCVE.org
Self Cross-site scripting (XSS) vulnerability on the edit Knowledge Base article page in Liferay Portal 7.4.0 through 7.4.3.101, and older unsupported versions, and Liferay DXP 2023.Q3.1 through 2023.Q3.5, 7.4 GA through update 92, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into an attachment's filename.
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