All vulnerabilities

Packagist

CVE-2026-136406

Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential

Severity
Medium 5.1
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
7.2.11
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to view a page or file
Attacker can
Read some data · Change some data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
austintoddj/canvasPackagist · osv:Packagist:austintoddj/canvas
  • From 7.0.0 before 7.2.11

About austintoddj/canvas

Monthly downloads (Packagist)
5,342Packagist, 24 Nov 2026
Total downloads (Packagist)
144,450Packagist, 24 Nov 2026

This is the only vulnerability in austintoddj/canvas in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-136406