# CVE-2021-33338: Liferay Portal Layout Module and Liferay DXP Exposes the Cross-Site Request Forgery (CSRF) Token in URLs

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-02)
- Published: 2021-08-04T13:07:26.000Z
- Modified: 2026-06-17T03:54:28.650Z
- Also known as: GHSA-4frg-rpx6-96qh
- Weaknesses: CWE-352
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.liferay.portal:release.portal.bom (Maven): from 7.1.0 before 7.3.3
- com.liferay.portal:release.dxp.bom (Maven): from 7.1.0 before 7.1.10.fp19; from 7.2.0 before 7.2.10.fp6
- liferay digital_experience_platform: 7.1; 7.2
- liferay liferay_portal: from 7.1.0 up to 7.3.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`

## References

- <https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120748276> (vendor-advisory, web)
- <https://issues.liferay.com/browse/LPE-17030> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33338> (advisory)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2021-33338](https://www.cve.org/CVERecord?id=CVE-2021-33338), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-4frg-rpx6-96qh](https://github.com/advisories/GHSA-4frg-rpx6-96qh), CC-BY-4.0, modified 2025-05-28
- NVD: [CVE-2021-33338](https://nvd.nist.gov/vuln/detail/CVE-2021-33338), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33338 · Whole record: https://cve.day/CVE-2021-33338.json · Rebuilt by cve.day 2026-11-25T22:58:02.984Z
