# CVE-2025-62248: Liferay Portal and Liferay DXP vulnerable to reflected cross-site scripting (XSS)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: Passive; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-phjr-p9c5-hprx
- **Published:** 2025-10-22T19:07:55.265Z
- **Modified:** 2026-10-18T21:10:00.120Z

## Who should check

- Projects that depend on Maven package com.liferay:com.liferay.dynamic.data.mapping.web (\<= 5.0.122)
- Anyone running Liferay Portal \>= 7.4.0, \<= 7.4.3.132
- Anyone running Liferay DXP \>= 2024.Q1.1, \<= 2024.Q1.19; \>= 2024.Q2.1, \<= 2024.Q2.13; \>= 2024.Q3.1, \<= 2024.Q3.13; \>= 2024.Q4.0, \<= 2024.Q4.7; \>= 2025.Q1.0, \<= 2025.Q1.16; \>= 2025.Q2.0, \<= 2025.Q2.9

## Description

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.

## Affected and fixed versions

- Maven `com.liferay:com.liferay.dynamic.data.mapping.web`: affected \<= 5.0.122; fixed no fix listed yet (osv)
- Liferay Portal: \>= 7.4.0, \<= 7.4.3.132 (cvelist)
- Liferay DXP: \>= 2024.Q1.1, \<= 2024.Q1.19; \>= 2024.Q2.1, \<= 2024.Q2.13; \>= 2024.Q3.1, \<= 2024.Q3.13; \>= 2024.Q4.0, \<= 2024.Q4.7; \>= 2025.Q1.0, \<= 2025.Q1.16; \>= 2025.Q2.0, \<= 2025.Q2.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-62248. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-62248.md
Affected: com.liferay:com.liferay.dynamic.data.mapping.web <= 5.0.122
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for com.liferay:com.liferay.dynamic.data.mapping.web (Maven), Liferay Portal, Liferay DXP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-62248 being exploited?

There is no confirmed exploitation: CVE-2025-62248 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-62248?

Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-62248?

com.liferay:com.liferay.dynamic.data.mapping.web \<= 5.0.122.

### Is there a fix for CVE-2025-62248?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-62248?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62248>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-62248>
- patch: <https://github.com/liferay/liferay-portal/commit/a659c94bcfb218e5e5bb3e2cf7efa20a5abc10ed>
- other: <https://github.com/liferay/liferay-portal>
- other: <https://liferay.atlassian.net/browse/LPE-18304>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-62248>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-phjr-p9c5-hprx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-62248> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-62248>
