CVE-2026-28222 Details
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.
A stored cross-site scripting vulnerability has been identified in Wagtail's TableBlock feature within StreamFields. This issue affects Wagtail versions prior to 6.3.8, as well as 6.4, 7.0.0 through 7.0.5, 7.1.0 through 7.2.2, and 7.3.0. The vulnerability allows users with page editing privileges to inject malicious JavaScript into class attributes of TableBlock elements. When these pages are viewed by users with higher privileges, the injected script could be executed, potentially leading to unauthorized actions being performed with that user's credentials.
Users can upgrade to Wagtail versions 6.3.8, 7.0.6, 7.2.3, or 7.3.1, where this vulnerability has been patched. Alternatively, users can set a template attribute on TableBlock definitions to reference a template that does not output class attributes.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| torchbox wagtail | < 6.3.8 >= 6.4, < 7.0.6 >= 7.1, < 7.2.3 7.3 - 7.3 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | New CVE Received | [email protected] |