Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136406: medium-severity vulnerability (CVSS 5.1) in austintoddj canvas.
What happened
Original description from the source: 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
Medium severity, CVSS 5.1.
Affected products and versions
austintoddj canvas >= 7.0.0, < 7.2.11
| Product | Versions | Fixed in |
|---|---|---|
| austintoddj canvas | >= 7.0.0, < 7.2.11 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j — CVE Program
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58 — CVE Program
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11 — CVE Program
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151 — CVE Program
- https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.