CVE-2021-3920 Cross-site Scripting (XSS) - Stored in getgrav/grav-plugin-admin
Stored XSS in Grav Admin plugin allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- 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-2021-3920?
CVE-2021-3920 is a medium-severity cross-site scripting vulnerability in getgrav/grav-plugin-admin, published on 19 Nov 2021. 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-plugin-admin is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Weakness: CWE-79
Which versions are affected by CVE-2021-3920?
It affects 1 product.
Products include Getgrav Grav-Plugin-Admin.
How do I fix CVE-2021-3920?
No fix has been published for CVE-2021-3920 yet. Limit exposure of the affected software until one is available.
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-2021-3920 being exploited?
There is no known exploitation of CVE-2021-3920 in the wild and no public exploit code.
Other vulnerabilities in getgrav/grav-plugin-admin
- CVE-2021-21425 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution
- CVE-2025-66308 Grav Admin Plugin vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/config/site` parameter `data[taxonomies]`
- CVE-2025-66307 Grav Admin Plugin vulnerable to User Enumeration & Email Disclosure
- CVE-2025-66309 Grav is vulnerable to Cross-Site Scripting (XSS) Reflected endpoint /admin/pages/[page], parameter data[header][content][items], located in the "Blog Config" tab
- CVE-2025-66310 Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]` in Advanced Tab
Sources
Also known as GHSA-86p4-m52q-r4qx.