Skip to main content

Liferay Portal CVE-2025-62255

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-23 security@liferay.com
2.0
CVSS 4.0 · Vendor: liferay
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Liferay KB edit page
  2. Exploit
    Upload attachment with crafted filename payload
  3. Execution
    Browser renders unsanitized filename
  4. Impact
    Script 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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

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

maven com.liferay:com.liferay.knowledge.base.web fix: 5.0.109

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

Vendor (liferay) PRIMARY 2.0 LOW
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
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/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
High
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

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
enterprise portal/CMS platform, common but not ubiquitous in environments
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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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:7.3:*:*:*:*:*:*:*
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:*:*:*:*:*:*
+ 120 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