Liferay Portal
CVE-2025-62249
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious google_gadget URL with XSS payload
-
DeliveryDeliver link to portal user via phishing
-
ExploitVictim request reflects script into response
-
ExecutionJavaScript executes in victim browser session
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
Primary rating from Vendor (liferay).
CVSS VectorVendor: liferay
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
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