CVE-2026-136406
CVE-2026-136406 · Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential
CVSS 5.1 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- canvasUpdate to 7.2.11
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
canvas
- Versions
- ≥ 7.0.0, < 7.2.11: Affected (semver)
Update to 7.2.11
Original sources
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151
- https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential
- https://nvd.nist.gov/vuln/detail/CVE-2026-136406