CVE-2026-136406
Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential
Medium · 5.1Fix available
- CVSS
- 5.1
- EPSS
- 0.30% (p15)
- Published
- 2026-11-24
- Age
- 4d old
- Modified
- 2026-11-26
- Product
- austintoddj canvas
- Aliases
- GHSA-rwxv-634g-pw9j
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Description
Canvas 7.0.0 before 7.2.11 contains a stored cross-site scripting vulnerability that allows authenticated Contributors to inject scripts by exploiting a libxml2 parser differential in PostBody::clean(). Attackers can publish posts with slash-separated event handler attributes rendered unescaped in show.blade.php, hijacking Editor or Admin sessions to escalate their role to Admin.
Fixed in
7.2.11
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | canvas | >=7.0.0, <7.2.11 | 7.2.11 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j vendor-advisory
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58 patch
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11 release-notes
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151 technical-description
- https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136406.json advisory
- https://github.com/austintoddj/canvas package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136406 advisory
- https://packagist.org web