CVE-2026-28222Wagtail: Improper escaping of HTML (Cross-site Scripting) on TableBlock class attributes
- 6.1MediumCVSS base score
- 0.50%Exploitation in 30 daysEPSS · top 56% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Wagtail is an open source content management system built on Django. Prior to versions 6.3.8, 7.0.6, 7.2.3, and 7.3.1, a stored cross-site scripting (XSS) vulnerability exists on rendering TableBlock blocks within a StreamField. A user with access to create or edit pages containing TableBlock StreamField blocks is able to set specially-crafted class attributes on the block which run arbitrary JavaScript code when the page is viewed. When viewed by a user with higher privileges, this could lead to performing actions with that user's credentials. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin, and only affects sites using TableBlock. This issue has been patched in versions 6.3.8, 7.0.6, 7.2.3, and 7.3.1.
Timeline
ID reserved
By GitHub_M
- 8 days later
· 8 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
| NVDNVD · Analyzed | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.50% · top 56% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIwagtailGHSA-p5cm-246w-84jm (opens in a new tab)
References
References9
- https://github.com/wagtail/wagtail/security/advisories/GHSA-p5cm-246w-84jm (opens in a new tab)x_refsource_CONFIRM
- https://github.com/wagtail/wagtail/commit/0375094bb57ce6e527005c2bb2e871dd20bca04d (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/4620423cb22c5253391a0f04178089c1162f6e2e (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/575c0d7c18c7716ed73f7a3c2720ad75956f0a85 (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/commit/605a5569686565e035313222e1bc2f9802fbc55b (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v6.3.8 (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v7.0.6 (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v7.2.3 (opens in a new tab)x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v7.3.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-9858 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p5cm-246w-84jm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-28222)Record last updated .