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.41% 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-86198PocketMine-MP versions before 5.44.2 fail to properly valida…4.2
- CVE-2026-86199PocketMine-MP versions before 5.43.1 fail to properly valida…7.5
- CVE-2026-8620IBM Web Server Plug-ins for WebSphere Application Server and…7.5
- CVE-2026-86200PocketMine-MP versions before 5.42.1 contain a denial of ser…5.3
- CVE-2026-86201PocketMine-MP before 5.41.1 contains a denial of service vul…7.5
- CVE-2026-86202PocketMine-MP versions before 5.39.2 contain a network ampli…4.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
