{"id":"CVE-2025-62248","aliases":["CVE-2025-62248","GHSA-phjr-p9c5-hprx"],"related":[],"kind":"vulnerability","state":"published","title":"Liferay Portal and Liferay DXP vulnerable to reflected cross-site scripting (XSS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de cross-site scripting (XSS) reflejado, resultante de una regresión, ha sido identificada en Liferay Portal 7.4.0 hasta 7.4.3.132, y Liferay DXP 2025.Q2.0 hasta 2025.Q2.9, 2025.Q1.0 hasta 2025.Q1.16, 2024.Q4.0 hasta 2024.Q4.7, 2024.Q3.1 hasta 2024.Q3.13, 2024.Q2.1 hasta 2024.Q2.13, 2024.Q1.1 hasta 2024.Q1.19, lo que permite a un atacante remoto y autenticado inyectar y ejecutar código JavaScript a través del parámetro _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition. La carga útil maliciosa se ejecuta dentro del navegador de la víctima cuando acceden a una URL que incluye el parámetro manipulado.","source":"nvd"}],"published":"2025-10-22T19:07:55.265Z","modified":"2026-10-18T21:10:00.120Z","severity":{"scorer":"Liferay","scheme":"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/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"Liferay","scheme":"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/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"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/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"maven","introduced":"7.4.0","lastAffected":"7.4.3.132","status":"affected"}],"vendor":"Liferay","product":"Portal","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"2024.Q1.1","lastAffected":"2024.Q1.19","status":"affected"},{"type":"maven","introduced":"2024.Q2.1","lastAffected":"2024.Q2.13","status":"affected"},{"type":"maven","introduced":"2024.Q3.1","lastAffected":"2024.Q3.13","status":"affected"},{"type":"maven","introduced":"2024.Q4.0","lastAffected":"2024.Q4.7","status":"affected"},{"type":"maven","introduced":"2025.Q1.0","lastAffected":"2025.Q1.16","status":"affected"},{"type":"maven","introduced":"2025.Q2.0","lastAffected":"2025.Q2.9","status":"affected"}],"vendor":"Liferay","product":"DXP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.0.122"}],"ecosystem":"Maven","package":"com.liferay:com.liferay.dynamic.data.mapping.web","purl":"pkg:maven/com.liferay/com.liferay.dynamic.data.mapping.web","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2024.q1.1","fixed":"2024.q1.20"},{"status":"affected","introduced":"2024.q2.0","lastAffected":"2024.q2.13"},{"status":"affected","introduced":"2024.q3.1","lastAffected":"2024.q3.13"},{"status":"affected","introduced":"2024.q4.0","lastAffected":"2024.q4.7"}],"vendor":"liferay","product":"digital_experience_platform","cpe":"cpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.4.0","lastAffected":"7.4.3.132"}],"vendor":"liferay","product":"liferay_portal","cpe":"cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62248","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62248","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/liferay/liferay-portal/commit/a659c94bcfb218e5e5bb3e2cf7efa20a5abc10ed","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/liferay/liferay-portal","tags":["package"],"sources":["ghsa"]},{"url":"https://liferay.atlassian.net/browse/LPE-18304","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"Liferay","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-22T19:21:40.821Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62248","url":"https://www.cve.org/CVERecord?id=CVE-2025-62248","licence":"CVE Terms of Use","modified":"2025-10-22T19:25:00.999Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-phjr-p9c5-hprx","url":"https://github.com/advisories/GHSA-phjr-p9c5-hprx","licence":"CC-BY-4.0","modified":"2025-10-22T22:27:37.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62248","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62248","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:06.722Z","epss":{"score":0.00248,"percentile":0.1728,"date":"2026-12-01T12:00:22.000Z"}}