Liferay Portal
CVE-2025-62248
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain privileged Liferay account
-
DeliveryCraft URL with payload in DDMPortlet definition param
-
ExploitDeliver link to authenticated victim
-
ExecutionReflected script executes in victim browser
-
ImpactHijack session / steal data in portal context
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 an authenticated attacker holding HIGH privileges within the Liferay instance (PR:H) who injects a payload into the specific _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition parameter of the Dynamic Data Mapping (DDM) portlet, plus a victim who must actively open the crafted URL (UI:P/required user interaction). Affected deployments are Liferay Portal 7.4.0 through 7.4.3.132 and Liferay DXP across the 2024.Q1-2025.Q2 quarterly release lines; the flaw is a regression, so instances previously patched for related XSS should not be assumed safe. Limiting factors that reduce realistic risk: the required privileged account, the mandatory victim click, reflected (non-persistent) nature meaning each victim must be individually targeted, and impact confined to a low confidentiality effect within the browser session (no integrity or availability impact per the vector). |
| Impact | This is a moderate-severity reflected XSS (CWE-79) with multiple converging signals pointing to LOW real-world urgency. The vendor-supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:L) yields only 4.8, driven down by two significant barriers: PR:H (the authenticated attacker needs HIGH privileges - i.e. an existing privileged/admin-level account in the portal) and UI:P (a victim must be lured into clicking a crafted URL). EPSS reinforces this: 0.24% probability (14th percentile) indicates very low expected exploitation volume. There is no CISA KEV listing and no public exploit code identified, so there is no evidence of active exploitation. The signals are internally consistent - low CVSS, low EPSS, no KEV, no POC all agree this is NOT a priority patch relative to critical/unauthenticated flaws. One nuance worth flagging: PR:H is unusually high for a reflected XSS, which normally needs no privileges; this strongly implies the vulnerable DDMPortlet definition parameter sits behind an authenticated/administrative portlet, materially shrinking the attacker population to users who already hold elevated access. The 'regression' noted in the description also means a previously-fixed issue reappeared, so environments that trusted prior remediation should re-verify. Overall: a genuine but low-priority bug - patch in routine cycles, not as an emergency. |
| Exploit ScenarioDerived | A remote attacker who already holds a privileged (PR:H) Liferay account crafts a URL containing a malicious JavaScript payload in the _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition parameter and sends it to another authenticated user. When that victim opens the link, the unsanitized parameter is reflected into the response and the script executes in their browser session, enabling session-context actions such as cookie/token theft or UI manipulation. No public exploit code has been 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 the Liferay DXP 2024.Q1 through 2025.Q2 quarterly release lines lets a highly privileged authenticated user inject JavaScript through the _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition parameter of the Dynamic Data Mapping portlet, which then executes in a victim's browser when that victim opens a crafted URL. Because the issue is described as a regression, instances that were previously patched against related DDM portlet XSS should not be assumed clean. Exploitation requires a high-privilege account (PR:H) plus deliberate victim interaction (UI:P), public exploit code has not been identified and there is no CISA KEV entry, with EPSS at 0.24% (14th percentile), so real-world urgency remains low.
RemediationAI
Apply the fixed build listed for CVE-2025-62248 in Liferay's known-vulnerabilities advisory (https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62248) - upgrade Liferay Portal to a 7.4.3.x release above 7.4.3.132 and Liferay DXP to the corresponding quarterly maintenance release above the ranges 2024.Q1.19, 2024.Q2.13, 2024.Q3.13, 2024.Q4.7, 2025.Q1.16 and 2025.Q2.9, or to the next supported quarterly line; no vendor-released patch version was confirmed from the supplied data, so verify the exact fixed tag in the advisory before closing out. Because this is a regression, re-test any previously applied XSS hardening rather than assuming existing patches cover it. As interim compensating controls, restrict or disable the Dynamic Data Mapping portlet for non-administrative roles via the portal's portlet-access permissions (trade-off: content teams that rely on DDM templates lose functionality), and front the portal with a WAF or reverse proxy that rejects requests carrying script-bearing payloads in the _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition parameter (trade-off: signature-based rules are bypassable and may cause false positives on legitimate template content). Also enforce a strict Content-Security-Policy on portal responses to blunt inline script execution, and review privileged DDM accounts, since PR:H credentials are a prerequisite for constructing the attack URL.
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
This is a reflected cross-site scripting flaw (CWE-79) in Liferay's Java-based portal stack, specifically in the rendering path of the Dynamic Data Mapping (DDM) portlet, a core Liferay component used to build web content templates and data definitions. The vulnerable sink is the request parameter _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition, whose value is echoed back into the generated HTML response without adequate output encoding, so markup and script supplied in the URL are interpreted by the browser in the portal's origin. The reflected (non-persistent) nature means the payload lives only in the crafted link - each victim must be lured to a specific URL - and the advisory explicitly labels the root cause a regression, indicating that encoding or filtering behavior that had been corrected in an earlier fix was reintroduced in subsequent builds. CPE data maps the affected surface to both liferay:liferay_portal and liferay:digital_experience_platform, i.e. the same codebase shipped as community Portal and commercial DXP; the high PR:H requirement reflects that reaching the vulnerable DDM portlet render path requires an administrative/privileged session to construct, though the script itself executes in the lower-privileged victim's browser context, which is why the assessed vector carries scope change (S:C).
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:H/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Network-reachable reflected XSS but requires a high-privilege account (PR:H) and victim click (UI:R); script-in-browser crosses a trust boundary (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (liferay).
CVSS VectorVendor: liferay
DescriptionCVE.org
A reflected cross-site scripting (XSS) vulnerability, resulting from a regression, has been identified in Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.9, 2025.Q1.0 through 2025.Q1.16, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.1 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.19 allows a remote, authenticated attacker to inject and execute JavaScript code via the _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition parameter. The malicious payload is executed within the victim's browser when they access a URL that includes the crafted parameter.
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