{"id":"GHSA-cvrj-cw2f-25qw","summary":"Liferay Portal Vulnerable to XSS via an Invalid portletId","details":"XSS exists in Liferay Portal before 7.0 CE GA4 via an invalid portletId.","aliases":["CVE-2017-12645"],"modified":"2025-08-08T21:27:25.014598Z","published":"2022-05-17T02:15:36Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-08-08T20:36:57Z","nvd_published_at":"2017-08-07T16:29:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12645"},{"type":"WEB","url":"https://github.com/liferay/liferay-portal/commit/122b0dd9ca729a4df0f06fe01b3648755c5048f9"},{"type":"WEB","url":"https://github.com/liferay/liferay-portal/commit/6f2bd2569c78677b9eeab83ae42d3610a0e07b13"},{"type":"WEB","url":"https://github.com/liferay/liferay-portal/commit/89c4514fc7d55a618c01483b987219298e3a4d36"},{"type":"WEB","url":"https://github.com/liferay/liferay-portal/commit/bbb8bc90c2d11710ff09b7a36970510997b70c59"},{"type":"WEB","url":"https://github.com/liferay/liferay-portal/commit/c6d7707c2e9872c7d5197001f292407ca7cbaf2e"},{"type":"WEB","url":"https://github.com/liferay/liferay-portal/commit/f30571c3502551945ba7497e8d80e8b2295f1026"},{"type":"PACKAGE","url":"https://github.com/liferay/liferay-portal"},{"type":"WEB","url":"https://issues.liferay.com/browse/LPS-72307"},{"type":"WEB","url":"https://web.archive.org/web/20201001000000*/https://dev.liferay.com/web/community-security-team/known-vulnerabilities/liferay-portal-70/-/asset_publisher/cjE0ourZXJZE/content/cst-7017-multiple-xss-vulnerabilities"}],"affected":[{"package":{"name":"com.liferay.portal:release.portal.bom","ecosystem":"Maven","purl":"pkg:maven/com.liferay.portal/release.portal.bom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.3-ga4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cvrj-cw2f-25qw/GHSA-cvrj-cw2f-25qw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}