Stored cross-site scripting in Canvas via post body sanitizer
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Canvas from 7.0.0 before 7.2.11 contains a stored cross-site scripting flaw (CWE-79) in which the sanitizer in PostBody::clean() fails to neutralize input because of a libxml2 parser differential. An authenticated user with Contributor privileges can publish posts with slash-separated event handler attributes that are rendered unescaped, so scripts run in the sessions of Editors or Admins, which can be used to escalate privileges to Admin.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| austintoddj | canvas | 7.0.0 to before 7.2.11 | 7.2.11 | Patch available | CNA |
- canvas Vendoraustintoddj Affected 7.0.0 to before 7.2.11 Fixed in 7.2.11 Patch available CNA
Remediation
Upgrade austintoddj Canvas to version 7.2.11, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · CNA canvas (austintoddj) Fixed in 7.2.11
Timeline
- 2026-11-24 Threatist record created from CVE-2026-136406
- 2026-11-24 Alias added: GHSA-2h5w-pp74-vm7p
- 2026-11-25 CISA SSVC decision points changed
References
Sources
- CVE-2026-136406 · CVE Program
- CVE-2026-136406 · NVD
- FIRST EPSS
- GHSA-2h5w-pp74-vm7p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences