CVE-2020-37256 Grav - Cross-Site Scripting in Admin Plugin Page Editor

Medium 5.1 Published Updated

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.

PackageAffectedFixed in
getgrav/grav PackagistAll versions1.6.30
getgrav/grav PackagistAll versions1.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.

All Getgrav Grav vulnerabilities

Sources

Also known as GHSA-cvmr-6428-87w9, GHSA-gwrh-r2g6-7wgp.

Is CVE-2020-37256 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free