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

Published Jun 14, 2023
·
Updated

Grav is a flat-file content management system. In versions 1.7.42 and prior, the "/forgotpassword" 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.

Affected Software

1 affected component
getgrav Grav<=1.7.42

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Implement server-side validation for the /forgot_password endpoint to prevent self-reflected XSS when an attacker injects a script into the request "email" parameter (affects Grav versions 1.7.42 and prior).

    Grav /forgot_password Server-side validation for input parameter "email" = Reject/escape/validate email input so script injection in the "email" parameter does not get reflected in responses

Event History

Jun 14, 2023
CVE Published
via MITRE·10:28 PM
Data Sourced
via MITRE·10:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2023-34452.

2

What is the severity of CVE-2023-34452?

The severity of CVE-2023-34452 is medium.

3

How does this vulnerability affect Grav?

This vulnerability affects Grav versions 1.7.42 and prior.

4

What is the CWE classification for CVE-2023-34452?

The CWE classification for CVE-2023-34452 is CWE-79 (Cross-Site Scripting).

5

How can this vulnerability be exploited?

This vulnerability can be exploited by injecting a script into the "email" parameter of the "/forgot_password" page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203