CVE-2020-37256

Grav - Cross-Site Scripting in Admin Plugin Page Editor

Published Jun 25, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Grav versions earlier than 1.6.30 contain a cross‑site scripting flaw in the default Admin plugin page editor. The default security configuration fails to sanitise user‑supplied content, allowing a user who has page‑editing rights to inject arbitrary JavaScript. When that script runs in a privileged context it can be used to install malicious plugins or execute other arbitrary code, leading to full system compromise.

Affected Systems

The vulnerability affects the Grav Admin plugin for all releases prior to 1.6.30. Users running Grav with page‑editing permissions on those older versions are susceptible to exploitation.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. With no EPSS score available the likelihood of exploitation is unknown, and the vulnerability is not listed in CISA’s KEV catalog. However, exploitation requires authenticated privileged access; an attacker can inject code that runs with the same permissions as the editor, potentially gaining full administrative control of the Grav installation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Grav Admin plugin to version 1.6.30 or later where the XSS issue is fixed
  • Configure the page editor to strip or prohibit arbitrary HTML and JavaScript for non‑trusted users
  • Limit page‑editing privileges to a minimal set of trusted administrators and deny plugin installation from unverified sources

Generated by OpenCVE AI on June 25, 2026 at 23:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Grav - Cross-Site Scripting in Admin Plugin Page Editor
First Time appeared Getgrav
Getgrav grav-plugin-admin
Weaknesses CWE-79
CPEs cpe:2.3:a:getgrav:grav-plugin-admin:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav-plugin-admin
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:20 PM
Reserved
Jun 22, 2026, 9:55 PM
Status
Analyzed
Published
Jun 25, 2026, 10:16 PM
Modified
Oct 8, 2026, 4:16 PM