# CVE-2025-62248: A reflected cross-site scripting (XSS) vulnerability, resulting from a regression, has been identified in Liferay Portal 7.4.0 through 7.4.

Source: https://junglewise.ai/threats/cve-2025-62248-liferay-portal-and-liferay-dxp-vulnerable-to-reflected-cross-site  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-22  
License: CC BY 4.0 with a link back

CVE-2025-62248 · Severity: medium · CVSS 4.8 · Published 2025-10-22

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.

Technologies: [Liferay Digital Experience Platform](https://junglewise.ai/threats/technologies/digital-experience-platform), [Liferay Portal](https://junglewise.ai/threats/technologies/portal). Vendors: [Liferay](https://junglewise.ai/threats/vendors/liferay), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-62248 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-62248 being exploited in the wild.

**How severe is CVE-2025-62248?** Medium severity, with a CVSS score of 4.8, published 22 October 2025.

**Which products and versions are affected?** com.liferay:com.liferay.dynamic.data.mapping.web (Maven) ECOSYSTEM:introduced=0,last_affected=5.0.122.

**Is there a fix for CVE-2025-62248?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2025-62248?** Check whether you run Liferay Digital Experience Platform, Liferay Portal or com.liferay:com.liferay.dynamic.data.mapping.web (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Liferay Digital Experience Platform
- Liferay Portal
- com.liferay:com.liferay.dynamic.data.mapping.web (Maven) ECOSYSTEM:introduced=0,last_affected=5.0.122

## Identifiers

- CVE-2025-62248
- GHSA-phjr-p9c5-hprx

## Related threats

- [Liferay Portal and DXP do not check permissions of images in a blog entry](https://junglewise.ai/threats/cve-2025-62275-liferay-portal-and-dxp-do-not-check-permissions-of-images-in-a)
- [Liferay Portal and DXP use an incorrect cache-control header](https://junglewise.ai/threats/cve-2025-62276-liferay-portal-and-dxp-use-an-incorrect-cache-control-header)
- [Multiple cross-site scripting (XSS) vulnerabilities in web content template’s select structure page in Liferay Portal…](https://junglewise.ai/threats/cve-2025-62267-liferay-portal-and-dxp-affected-by-multiple-cross-site-scripting)
- [Liferay Portal is vulnerable to XSS in the Blogs widget](https://junglewise.ai/threats/cve-2025-62265-liferay-portal-is-vulnerable-to-xss-in-the-blogs-widget)
- [Liferay Portal is vulnerable to DNS rebinding attacks](https://junglewise.ai/threats/cve-2025-62266-liferay-portal-is-vulnerable-to-dns-rebinding-attacks)
