XSS in Getgrav Grav

CVE-2023-34452

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (45.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-34452?
CVE-2023-34452 is a medium-severity vulnerability in Getgrav Grav, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2023-06-14.
How severe is CVE-2023-34452?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2023-34452 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.