Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| canvas austintoddj | 7.0.0 to before 7.2.11 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-rwxv-634g-pw9j)Vendor Advisory
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58Patch
- canvas v7.2.11 Release NotesRelease Notes
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151Technical Details
- VulnCheck Advisory: Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser DifferentialThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.