Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72832— Grav before 2.0.12 Stored XSS via quoted-attribute bypass

Quick assessment

Affected
getgrav grav
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 1.5.2版本至2.0.12版本存在跨站脚本漏洞,该漏洞源于Security::detectXss()函数的事件处理扫描机制存在缺陷,无法正确跨越带引号属性值中的“>”字符,导致检测器与浏览器解析不一致,可能允许无admin.super权限的页面编辑器存储恶意内容,并在任何访客查看页面时触发存储型跨站脚本攻击。

CVSS 5.4 · Medium EPSS 0.31% · P22

Possible ATT&CK Techniques 1 AI

T1059.007 · JavaScript

Affected Version Matrix 1

VendorProduct Version RangeStatus
getgrav grav 1.5.2≤ 2.0.12 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72832

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Grav before 2.0.12 Stored XSS via quoted-attribute bypass
Source: CVE Program / CVE List V5
Vulnerability Description
Grav versions from 1.5.2 through 2.0.12 contain a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). The event-handler scan is anchored at `<` and uses `[^>]*?`, which cannot cross the first literal `>`; when a `>` appears inside a quoted attribute value the browser keeps the tag open and parses a subsequent event handler (e.g. onerror), so the detector and browser disagree. A page editor without admin.super privileges can save page content such as `<img src=x title=">" onerror=alert(document.domain)>`, which is accepted, stored, and executed in the site origin when any visitor (including unauthenticated users) views the page. Fixed in 2.0.13.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Grav 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 1.5.2版本至2.0.12版本存在跨站脚本漏洞,该漏洞源于Security::detectXss()函数的事件处理扫描机制存在缺陷,无法正确跨越带引号属性值中的“>”字符,导致检测器与浏览器解析不一致,可能允许无admin.super权限的页面编辑器存储恶意内容,并在任何访客查看页面时触发存储型跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getgrav grav 1.5.2 ~ 2.0.12 -

II. Public POCs for CVE-2026-72832

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-72832

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72832 (2)

Same Patch Batch · getgrav · 2026-08-14 · 15 CVEs total

CVE-2026-72824 8.8 HIGH Grav before 1.0.13 API Key Scope Bypass via PagesController
CVE-2026-72826 8.8 HIGH Grav before 1.0.13 Scope Bypass via createApiKey
CVE-2026-72819 8.8 HIGH Grav CMS before 2.0.13 Remote Code Execution via ZIP Upload
CVE-2026-72831 8.8 HIGH Grav through 2.0.11 Authentication Bypass via Flex Objects
CVE-2026-72822 8.8 HIGH Grav before 1.0.13 Authentication Bypass via disable2fa
CVE-2026-72830 8.8 HIGH Grav API Plugin before 1.0.13 RCE via ConfigController scope bypass
CVE-2026-72833 8.8 HIGH Grav 1.0.6 through 1.0.11 Privilege Escalation via Scoped API Keys
CVE-2026-72829 8.8 HIGH Grav before 1.0.13 API Key Scope Bypass via UsersController
CVE-2026-72827 8.8 HIGH Grav CMS before 2.0.13 Remote Code Execution via Twig
CVE-2026-72825 7.6 HIGH Grav before 1.0.13 API-key scope cap bypass via ReportsController
CVE-2026-72828 7.2 HIGH Grav before 1.0.13 API Key Scope Bypass via InvitationsController
CVE-2026-72821 5.4 MEDIUM Grav Form Plugin before 9.1.15 Stored XSS via Radio Toggle
CVE-2026-72823 5.4 MEDIUM Grav before 1.0.13 API-key scope cap bypass via DemoController
CVE-2026-72820 4.9 MEDIUM Grav 2.0.11 Path Traversal via Backup Profile Configuration

IV. Related Vulnerabilities

V. Comments for CVE-2026-72832

No comments yet


Leave a comment