{"id":"GHSA-hrc4-p2h3-pjqw","summary":"Liferay Portal and Liferay DXP Vulnerable to Cross-Site Scripting (XSS)","details":"Cross-site scripting (XSS) vulnerability on Liferay Portal 7.4.3.82 through 7.4.3.128, and Liferay DXP 2024.Q3.0, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 82 through update 92 in the Frontend JS module's layout-taglib/__liferay__/index.js allows remote attackers to inject arbitrary web script or HTML via toastData parameter","aliases":["CVE-2025-2536"],"modified":"2026-09-10T03:49:48.660440792Z","published":"2025-03-19T21:30:52Z","database_specific":{"github_reviewed_at":"2025-03-20T18:13:27Z","nvd_published_at":"2025-03-19T19:15:50Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2536"},{"type":"PACKAGE","url":"https://github.com/liferay/liferay-portal"},{"type":"WEB","url":"https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-2536"}],"affected":[{"package":{"name":"com.liferay.portal:release.dxp.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.dxp.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2024.Q2.0"},{"last_affected":"2024.Q2.11"}]}],"versions":["2024.q2.0","2024.q2.1","2024.q2.10","2024.q2.11","2024.q2.2","2024.q2.3","2024.q2.4","2024.q2.5","2024.q2.6","2024.q2.7","2024.q2.8","2024.q2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hrc4-p2h3-pjqw/GHSA-hrc4-p2h3-pjqw.json"}},{"package":{"name":"com.liferay.portal:release.portal.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.portal.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.4.3.82"},{"fixed":"7.4.3.129"}]}],"versions":["7.4.3.100","7.4.3.101","7.4.3.102","7.4.3.103","7.4.3.104","7.4.3.105","7.4.3.106","7.4.3.107","7.4.3.112","7.4.3.112-ga112","7.4.3.120","7.4.3.120-ga120","7.4.3.125","7.4.3.125-ga125","7.4.3.82","7.4.3.83","7.4.3.84","7.4.3.85","7.4.3.85-ga85","7.4.3.86","7.4.3.87","7.4.3.88","7.4.3.89","7.4.3.90","7.4.3.91","7.4.3.92","7.4.3.93","7.4.3.94","7.4.3.95","7.4.3.95-1","7.4.3.96","7.4.3.97","7.4.3.98","7.4.3.99"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hrc4-p2h3-pjqw/GHSA-hrc4-p2h3-pjqw.json"}},{"package":{"name":"com.liferay.portal:release.dxp.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.dxp.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2024.Q1.1"},{"fixed":"2024.Q1.13"}]}],"versions":["2024.q1.1","2024.q1.10","2024.q1.11","2024.q1.12","2024.q1.2","2024.q1.3","2024.q1.4","2024.q1.5","2024.q1.6","2024.q1.7","2024.q1.8","2024.q1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hrc4-p2h3-pjqw/GHSA-hrc4-p2h3-pjqw.json"}},{"package":{"name":"com.liferay.portal:release.dxp.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.dxp.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2023.Q4.0"},{"fixed":"2024.Q4.0"}]}],"versions":["2023.q4.0","2023.q4.1","2023.q4.10","2023.q4.2","2023.q4.3","2023.q4.4","2023.q4.5","2023.q4.6","2023.q4.7","2023.q4.8","2023.q4.9","2024.q1.1","2024.q1.10","2024.q1.11","2024.q1.12","2024.q1.13","2024.q1.14","2024.q1.15","2024.q1.16","2024.q1.17","2024.q1.18","2024.q1.2","2024.q1.3","2024.q1.4","2024.q1.5","2024.q1.6","2024.q1.7","2024.q1.8","2024.q1.9","2024.q2.0","2024.q2.1","2024.q2.10","2024.q2.11","2024.q2.12","2024.q2.13","2024.q2.2","2024.q2.3","2024.q2.4","2024.q2.5","2024.q2.6","2024.q2.7","2024.q2.8","2024.q2.9","2024.q3.0","2024.q3.1","2024.q3.10","2024.q3.11","2024.q3.12","2024.q3.13","2024.q3.2","2024.q3.3","2024.q3.4","2024.q3.5","2024.q3.6","2024.q3.7","2024.q3.8","2024.q3.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 2023.Q4.10","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hrc4-p2h3-pjqw/GHSA-hrc4-p2h3-pjqw.json"}},{"package":{"name":"com.liferay.portal:release.dxp.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.dxp.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2023.Q3.1"},{"fixed":"2024.Q4.0"}]}],"versions":["2023.q3.1","2023.q3.10","2023.q3.2","2023.q3.3","2023.q3.4","2023.q3.5","2023.q3.6","2023.q3.7","2023.q3.8","2023.q3.9","2023.q4.0","2023.q4.1","2023.q4.10","2023.q4.2","2023.q4.3","2023.q4.4","2023.q4.5","2023.q4.6","2023.q4.7","2023.q4.8","2023.q4.9","2024.q1.1","2024.q1.10","2024.q1.11","2024.q1.12","2024.q1.13","2024.q1.14","2024.q1.15","2024.q1.16","2024.q1.17","2024.q1.18","2024.q1.2","2024.q1.3","2024.q1.4","2024.q1.5","2024.q1.6","2024.q1.7","2024.q1.8","2024.q1.9","2024.q2.0","2024.q2.1","2024.q2.10","2024.q2.11","2024.q2.12","2024.q2.13","2024.q2.2","2024.q2.3","2024.q2.4","2024.q2.5","2024.q2.6","2024.q2.7","2024.q2.8","2024.q2.9","2024.q3.0","2024.q3.1","2024.q3.10","2024.q3.11","2024.q3.12","2024.q3.13","2024.q3.2","2024.q3.3","2024.q3.4","2024.q3.5","2024.q3.6","2024.q3.7","2024.q3.8","2024.q3.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 2023.Q3.10","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hrc4-p2h3-pjqw/GHSA-hrc4-p2h3-pjqw.json"}},{"package":{"name":"com.liferay.portal:release.dxp.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.dxp.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2024.Q3.0"},{"fixed":"2024.Q3.1"}]}],"versions":["2024.q3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hrc4-p2h3-pjqw/GHSA-hrc4-p2h3-pjqw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}