CVE-2026-86197
Last modified
CVE-2026-86197 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. Grav before 2.0.20 contains a cross-site scripting vulnerability in the Twig sandbox policy that allowlists addJs and addCss methods on Grav\Common\Assets without proper output escaping. Page editors can inject arbitrary script by registering malicious assets or injecting attributes, which are rendered unescaped into document head tags and executed for all visitors including administrators.. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
Grav before 2.0.20 contains a cross-site scripting vulnerability in the Twig sandbox policy that allowlists addJs and addCss methods on Grav\Common\Assets without proper output escaping. Page editors can inject arbitrary script by registering malicious assets or injecting attributes, which are rendered unescaped into document head tags and executed for all visitors including administrators.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 2.0.20 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-86197?
How severe is CVE-2026-86197?
How do I fix CVE-2026-86197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-86191SiYuan versions before v3.8.2 contain an information disclos…4.3
- CVE-2026-86192SiYuan versions before v3.8.2 fail to properly filter privat…6.5
- CVE-2026-86193grav-plugin-api before 1.0.20 fails to validate group-inheri…8.7
- CVE-2026-86194Grav Form Plugin before 9.1.22 fails to verify page authoriz…6.9
- CVE-2026-86195grav-plugin-api versions before 1.0.20 contain a privilege e…8.7
- CVE-2026-86196Grav API plugin versions before 1.0.20 build password reset …8.7
- CVE-2026-8620IBM Web Server Plug-ins for WebSphere Application Server and…7.5
- CVE-2026-86205h3 versions before 2.0.1-rc.18 contain an open redirect vuln…5.4
- CVE-2026-86206A vulnerability in the N-central internal API access control…6.9
- CVE-2026-86207An authentication bypass in N-central < 2026.3 HF 3 leads to…7.7
- CVE-2026-86208A security flaw has been discovered in SourceCodester Class …7.3
- CVE-2026-86209A weakness has been identified in SourceCodester Class and E…7.3
Are you affected by CVE-2026-86197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
