CVE-2026-28222 | Wagtail: Improper escaping of HTML (Cross-site Scripting) on TableBlock class attributes

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.

Published: 2026-03-05 Last update: 2026-03-09 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-28222 is rated Low Risk (32.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.08%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-28222

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-10 0.05% 0.08% +0.04%
2 2026-03-06 0.05%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-28222

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
0.9 5.2 [email protected]

Weakness enumeration for CVE-2026-28222

GitHub Security Advisory for CVE-2026-28222

GHSA-p5cm-246w-84jm · Severity: medium · Ecosystem: pip — Wagtail Vulnerable to Cross-site Scripting in TableBlock class attributes

Affected software / configurations for CVE-2026-28222

Vendor Product Version Raw CPE
torchbox wagtail < 6.3.8 cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
torchbox wagtail >= 6.4, < 7.0.6 cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
torchbox wagtail >= 7.1, < 7.2.3 cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
torchbox wagtail 7.3 cpe:2.3:a:torchbox:wagtail:7.3:-:*:*:*:*:*:*
torchbox wagtail 7.3 cpe:2.3:a:torchbox:wagtail:7.3:rc1:*:*:*:*:*:*

References for CVE-2026-28222

cvelogic Threat Intelligence