# CVE-2023-34452: Grav vulnerable to Self Cross Site Scripting in /forgot_password

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- 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.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-14T22:28:34.824Z
- Modified: 2026-06-17T06:03:40.900Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grav is a flat-file content management system. In versions 1.7.42 and prior, the "/forgot_password" page has a self-reflected cross-site scripting vulnerability that can be exploited by injecting a script into the "email" parameter of the request. While this vulnerability can potentially allow an attacker to execute arbitrary code on the user's browser, the impact is limited as it requires user interaction to trigger the vulnerability. As of time of publication, a patch is not available. Server-side validation should be implemented to prevent this vulnerability.

(As written by CVE List.)

## Affected

- getgrav grav: <= 1.7.42; up to 1.7.42

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-xcr8-cc2j-62fc> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2023-34452](https://www.cve.org/CVERecord?id=CVE-2023-34452), CVE Terms of Use, modified 2024-12-18
- NVD: [CVE-2023-34452](https://nvd.nist.gov/vuln/detail/CVE-2023-34452), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34452 · Whole record: https://cve.day/CVE-2023-34452.json · Rebuilt by cve.day 2026-11-25T22:58:24.865Z
