CVE-2020-37256 Grav - Cross-Site Scripting in Admin Plugin Page Editor
Privileged users can inject scripts in the Grav Admin plugin page editor to execute arbitrary code and install malicious plugins.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-37256?
CVE-2020-37256 is a medium-severity cross-site scripting vulnerability in Getgrav Grav, published on 25 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Grav before 1.6.30 contains a cross-site scripting vulnerability in the Admin plugin page editor default security configuration. Privileged users with page editing capabilities can inject malicious scripts to execute arbitrary code and install malicious plugins for system access.
Weakness: CWE-79
Which versions are affected by CVE-2020-37256?
2 open source packages ship an affected version, including getgrav/grav. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
getgrav/grav Packagist | All versions | 1.6.30 |
getgrav/grav Packagist | All versions | 1.6.30 |
Products include Getgrav Grav.
How do I fix CVE-2020-37256?
Upgrade getgrav/grav to 1.6.30 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-37256 being exploited?
There is no known exploitation of CVE-2020-37256 in the wild and no public exploit code.
Other vulnerabilities in Getgrav Grav
- CVE-2023-34251 Grav Server Side Template Injection vulnerability
- CVE-2025-46199 Cross-site scripting in n/a
- CVE-2021-47812 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2)
- CVE-2025-66844 Grav may be vulnerable to SSRF attack via Twig Templates
- CVE-2022-2073 Code Injection in getgrav/grav
Sources
Also known as GHSA-cvmr-6428-87w9, GHSA-gwrh-r2g6-7wgp.