{"id":"CVE-2021-33338","aliases":["CVE-2021-33338","GHSA-4frg-rpx6-96qh"],"related":[],"kind":"vulnerability","state":"published","title":"Liferay Portal Layout Module and Liferay DXP Exposes the Cross-Site Request Forgery (CSRF) Token in URLs","summary":"The Layout module in Liferay Portal 7.1.0 through 7.3.2, and Liferay DXP 7.1 before fix pack 19, and 7.2 before fix pack 6, exposes the CSRF token in URLs, which allows man-in-the-middle attackers to obtain the token and conduct Cross-Site Request Forgery (CSRF) attacks via the p_auth parameter.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Layout module in Liferay Portal 7.1.0 through 7.3.2, and Liferay DXP 7.1 before fix pack 19, and 7.2 before fix pack 6, exposes the CSRF token in URLs, which allows man-in-the-middle attackers to obtain the token and conduct Cross-Site Request Forgery (CSRF) attacks via the p_auth parameter.","source":"cvelist"},{"lang":"es","text":"El módulo Layout en Liferay Portal versiones 7.1.0 hasta 7.3.2, y Liferay DXP versiones 7.1 anteriores a fix pack 19, y versiones 7.2 anteriores a fix pack 6, expone el token CSRF en las URLs, lo que permite a atacantes de tipo man-in-the-middle obtener el token y llevar a cabo ataques de tipo Cross-Site Request Forgery (CSRF) por medio del parámetro p_auth","source":"nvd"}],"published":"2021-08-04T13:07:26.000Z","modified":"2026-06-17T03:54:28.650Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","score":5.1,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.1.0","status":"affected","fixed":"7.3.3"}],"ecosystem":"Maven","package":"com.liferay.portal:release.portal.bom","purl":"pkg:maven/com.liferay.portal/release.portal.bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.1.0","status":"affected","fixed":"7.1.10.fp19"}],"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.fp6"}],"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.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"}],"vendor":"liferay","product":"digital_experience_platform","cpe":"cpe:2.3:a:liferay:digital_experience_platform:7.1:-:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.1.0","lastAffected":"7.3.2"}],"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/120748276","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://issues.liferay.com/browse/LPE-17030","tags":["issue-tracking","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33338","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/liferay/liferay-portal","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33338","url":"https://www.cve.org/CVERecord?id=CVE-2021-33338","licence":"CVE Terms of Use","modified":"2024-08-03T23:50:42.556Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4frg-rpx6-96qh","url":"https://github.com/advisories/GHSA-4frg-rpx6-96qh","licence":"CC-BY-4.0","modified":"2025-05-28T21:13:28.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33338","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33338","licence":"Public domain","modified":"2026-06-17T03:54:28.650Z"}],"updatedAt":"2026-11-25T22:58:02.984Z","epss":{"score":0.00424,"percentile":0.38605,"date":"2026-12-02T12:00:21.000Z"}}