Live threats

All CVEs / Getgrav

CVE-2021-21425Getgrav Grav-plugin-admin

Critical 9.8 No auth neededHigh EPSS

Priority
82
CVSS 3.1
9.8
EPSS
80.6%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Apr 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Grav Admin Plugin is an HTML user interface that provides a way to configure Grav and create and modify pages. In versions 1.10.7 and earlier, an unauthenticated user can execute some methods of administrator controller without needing any credentials. Particular method execution will result in arbitrary YAML file creation or content change of existing YAML files on the system. Successfully exploitation of that vulnerability results in configuration changes, such as general site information change, custom scheduler job definition, etc. Due to the nature of the vulnerability, an adversary can change some part of the webpage, or hijack an administrator account, or execute operating system command under the context of the web-server user. This vulnerability is fixed in version 1.10.8. Blocking access to the `/admin` path from untrusted sources can be applied as a workaround.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grav-plugin-admin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
getgravgrav-plugin-admin< 1.10.8

Official sources

References

Links published by the sources. Open them with care.