{"id":"CVE-2021-33326","aliases":["CVE-2021-33326","GHSA-hgjv-7wjr-qwqp"],"related":[],"kind":"vulnerability","state":"published","title":"Liferay Portal and Liferay DXP Cross-site scripting (XSS) vulnerability in the Frontend JS module","summary":"Cross-site scripting (XSS) vulnerability in the Frontend JS module in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 96, 7.1 before fix pack 20 and 7.2 before fix pack 9, allows remote attackers to inject arbitrary web script or HTML via the title of a modal window.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site scripting (XSS) vulnerability in the Frontend JS module in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 96, 7.1 before fix pack 20 and 7.2 before fix pack 9, allows remote attackers to inject arbitrary web script or HTML via the title of a modal window.","source":"cvelist"},{"lang":"en","text":"Cross-site scripting (XSS) vulnerability in the Frontend JS module before version 4.0.18, in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 96, 7.1 before fix pack 20 and 7.2 before fix pack 9, allows remote attackers to inject arbitrary web script or HTML via the title of a modal window.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de tipo Cross-site scripting (XSS) en el módulo Frontend JS de Liferay Portal versiones 7.3.4 y anteriores, y Liferay DXP versiones 7.0 anterior a fix pack 96, versiones 7.1 anterior a fix pack 20 y versiones 7.2 anterior a fix pack 9, permite a atacantes remotos inyectar script web o HTML arbitrario por medio del título de una ventana modal","source":"nvd"}],"published":"2021-08-03T18:37:32.000Z","modified":"2026-06-17T03:54:27.153Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.18"}],"ecosystem":"Maven","package":"com.liferay:com.liferay.frontend.js.aui.web","purl":"pkg:maven/com.liferay/com.liferay.frontend.js.aui.web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.0.10.fp96"}],"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.1.0","status":"affected","fixed":"7.1.10.fp20"}],"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.2.0","status":"affected","fixed":"7.2.10.fp9"}],"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","source":"ghsa"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"liferay","product":"digital_experience_platform","cpe":"cpe:2.3:a:liferay:digital_experience_platform:7.0:-:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"7.3.5"}],"vendor":"liferay","product":"liferay_portal","cpe":"cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120747869","tags":["release-notes","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://issues.liferay.com/browse/LPE-17093","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33326","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/liferay/liferay-portal/commit/eb0590cea2d899f9e95bdb2e767466b8444aa573","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/liferay/liferay-portal","tags":["package"],"sources":["ghsa"]},{"url":"https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2021-33326-xss-with-the-title-of-a-modal-window?p_r_p_assetEntryId=121610771&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121610771%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33326","url":"https://www.cve.org/CVERecord?id=CVE-2021-33326","licence":"CVE Terms of Use","modified":"2024-08-03T23:50:41.576Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hgjv-7wjr-qwqp","url":"https://github.com/advisories/GHSA-hgjv-7wjr-qwqp","licence":"CC-BY-4.0","modified":"2025-07-14T20:35:46.543Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33326","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33326","licence":"Public domain","modified":"2026-06-17T03:54:27.153Z"}],"updatedAt":"2026-11-25T22:58:02.964Z","epss":{"score":0.00841,"percentile":0.59002,"date":"2026-12-01T12:00:22.000Z"}}