# CVE-2021-3818: Reliance on Cookies without Validation and Integrity Checking in getgrav/grav

- Severity: Medium 6.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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): 2.45%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-27T12:25:23.000Z
- Modified: 2026-06-17T04:05:49.897Z
- Also known as: GHSA-cg3q-59w7-rvc2
- Weaknesses: CWE-565
- Assigned by: @huntrdev

## Description

grav is vulnerable to Reliance on Cookies without Validation and Integrity Checking

(As written by CVE List.)

## Affected

- getgrav getgrav/grav: from unspecified before 1.7.22
- getgrav/grav (Packagist): before 1.7.21
- getgrav grav: before 1.7.22

## Every score

- @huntrdev: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/c2bc65af-7b93-4020-886e-8cdaeb0a58ea> (exploit, patch, third-party-advisory, web)
- <https://github.com/getgrav/grav/commit/c51fb1779b83f620c0b6f3548d4a96322b55df07> (third-party-advisory, web)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2021-3818](https://www.cve.org/CVERecord?id=CVE-2021-3818), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-cg3q-59w7-rvc2](https://github.com/advisories/GHSA-cg3q-59w7-rvc2), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3818](https://nvd.nist.gov/vuln/detail/CVE-2021-3818), Public domain, modified 2026-06-17

---

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