Skip to main content

Liferay Portal CVE-2025-62249

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-21 security@liferay.com
6.9
CVSS 4.0 · Vendor: liferay
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious google_gadget URL with XSS payload
  2. Delivery
    Deliver link to portal user via phishing
  3. Exploit
    Victim request reflects script into response
  4. Execution
    JavaScript executes in victim browser session
  5. Impact
    Steal session tokens or perform actions as user

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

Exploitation requires the attacker to deliver a crafted request/URL that reaches the google_gadget functionality of a Liferay Portal (7.4.0-7.4.3.132) or Liferay DXP (listed 2023.Q4 through 2025.Q3 quarterly releases) instance; the attacker needs no authentication (PR:N). As a REFLECTED XSS, the practical limiting factor is victim interaction - a targeted user must open the attacker-supplied link for the payload to execute in their browser - so impact is bounded to the victim's session context rather than server compromise. The vendor vector's UI:N understates this required interaction. Exploitation is further limited to deployments that expose the google_gadget feature.

Impact

This is a medium-severity reflected XSS (CWE-79) with a vendor-assigned CVSS 4.0 score of 6.9. The signals are largely consistent and point to a moderate, not urgent, priority. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-reachable, low-complexity, unauthenticated exploitation, which raises the ceiling - but the EPSS score is low (0.25%, 15th percentile), there is no CISA KEV listing, and no public exploit was identified, so real-world exploitation pressure is currently low. One notable conflict: the vendor-supplied CVSS 4.0 vector sets UI:N (no user interaction), yet the vulnerability is explicitly a REFLECTED XSS, which by definition requires a victim to follow an attacker-crafted request/link - UI:N appears optimistic and the practical requirement is passive user interaction; verify with the Liferay advisory. Impact is limited (VC:L/VI:L, VA:N), consistent with script execution in a victim's browser session rather than full system compromise. Net: a legitimate issue to patch on normal cadence, not a high-real-risk emergency.

Exploit ScenarioDerived

An attacker crafts a malicious URL targeting the google_gadget component of a victim's Liferay Portal/DXP instance, embedding JavaScript that reflects into the response. When an authenticated portal user is lured into clicking the link, the script executes in their browser in the context of the Liferay session, enabling session/token theft or actions on the user's behalf. No public exploit code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 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

Reflected cross-site scripting in Liferay Portal 7.4.0 through 7.4.3.132 and multiple Liferay DXP 2023.Q4 through 2025.Q3 quarterly releases allows remote unauthenticated attackers to inject JavaScript into the google_gadget feature; the payload executes in a victim's browser only after the victim follows a crafted link, so impact is limited to the victim's session context. No public exploit identified at time of analysis, no CISA KEV entry is present, and EPSS is low at 0.25% (15th percentile).

RemediationAI

The provided data references Liferay's security advisory but does not list a specific fixed version; obtain the corrected Liferay Portal/DXP release from https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62249 and upgrade to it. If upgrading immediately is not possible, disable the google_gadget feature or restrict access to its endpoint to trusted networks/users (trade-off: loss or limitation of that integration), deploy a WAF rule to block script-bearing requests to google_gadget (trade-off: possible false positives), set a restrictive Content-Security-Policy and HttpOnly cookies to reduce XSS impact (trade-off: CSP may break inline scripts), and warn users not to follow unsolicited links to the affected instance.

Affected Packages

maven com.liferay.portal:com.liferay.portal.impl no fix

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, and the affected google_gadget functionality reflects attacker-controlled input into an HTTP response without sufficient output encoding. This is CWE-79 (improper neutralization of input during web page generation, or cross-site scripting): the browser executes injected JavaScript in the Liferay origin, enabling session theft, UI redressing, or actions as the victim. CPE data maps the affected assets to liferay:liferay_portal and liferay:digital_experience_platform; exploitation is limited to deployments that expose google_gadget and requires victim interaction to open the crafted URL, despite the vendor CVSS 4.0 vector listing UI:N.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Network-reachable unauthenticated reflected XSS (AV:N/AC:L/PR:N); reflected XSS requires victim to click a link (UI:R) and executes in a different security context (S:C), with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (liferay).

CVSS VectorVendor: liferay

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q3.0 through 2025.Q3.2, 2025.Q2.0 through 2025.Q2.12, 2025.Q1.0 through 2025.Q1.17, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.20, and 2023.Q4.0 through 2023.Q4.10 allows an remote non-authenticated attacker to inject JavaScript into the google_gadget.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
enterprise web portal/DXP platform, common but not ubiquitous
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 No
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
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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:digital_experience_platform:*:*:*:*:*:*:*:*
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