CVE-2026-28222: medium-severity vulnerability in wagtail
Wagtail: Improper escaping of HTML (Cross-site Scripting) on TableBlock class attributes
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.1epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Affected products
wagtail · wagtailRelated CVEs — wagtail
In the same product, most dangerous first.
CVE-2020-11001MEDIUMPossible XSS attack in WagtailEPSS 1.3%CVE-2021-32681MEDIUMImproper escaping of HTML ('Cross-site Scripting') in Wagtail StreamField blocksEPSS 1.1%CVE-2020-15118MEDIUMCross-Site Scripting in WagtailEPSS 1.1%CVE-2023-28837MEDIUMWagtail vulnerable to denial-of-service via memory exhaustion when uploading large filesEPSS 1.1%CVE-2022-21683LOWComment reply notifications sent to incorrect users in wagtailEPSS 1.0%CVE-2023-28836MEDIUMWagtail vulnerable to stored Cross-site Scripting attack via ModelAdmin viewsEPSS 0.8%
References
https://github.com/wagtail/wagtail/commit/0375094bb57ce6e527005c2bb2e871dd20bca04dhttps://github.com/wagtail/wagtail/commit/4620423cb22c5253391a0f04178089c1162f6e2ehttps://github.com/wagtail/wagtail/commit/575c0d7c18c7716ed73f7a3c2720ad75956f0a85https://github.com/wagtail/wagtail/commit/605a5569686565e035313222e1bc2f9802fbc55bhttps://github.com/wagtail/wagtail/releases/tag/v6.3.8https://github.com/wagtail/wagtail/releases/tag/v7.0.6https://github.com/wagtail/wagtail/releases/tag/v7.2.3https://github.com/wagtail/wagtail/releases/tag/v7.3.1https://github.com/wagtail/wagtail/security/advisories/GHSA-p5cm-246w-84jm