CVE-2026-28222 json
Wagtail: Improper escaping of HTML (Cross-site Scripting) on TableBlock class attributes
published 2026-03-03 8 mo ago modified 2026-07-13 3 mo ago also EUVD-2026-9858 , GHSA-p5cm-246w-84jm , PYSEC-2026-2307
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi wagtail 6.3.8, 7.0.6, 7.2.3, 7.3.1
- torchbox wagtail 6.3.8, 7.0.6, 7.2.3, 7.3.1
- github.com/wagtail/wagtail@0375094 commit
- github.com/wagtail/wagtail@4620423 commit
- github.com/wagtail/wagtail@575c0d7 commit
- github.com/wagtail/wagtail@605a556 commit
- github.com/wagtail/wagtail/releases/tag/v6.3.8 release
- github.com/wagtail/wagtail/releases/tag/v7.0.6 release
- github.com/wagtail/wagtail/releases/tag/v7.2.3 release
- github.com/wagtail/wagtail/releases/tag/v7.3.1 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 8 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | wagtail | <6.3.8 >=6.4rc1, <7.0.6 >=7.1rc1, <7.2.3 >=7.3rc1, <7.3.1 >=6.4, <7.0.6 >=7.1, <7.2.3 |
6.3.8 7.0.6 7.2.3 7.3.1 |
Affected products
- wagtail wagtail
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/wagtail/wagtail/commit/0375094bb57ce6e527005c2bb2e871dd20bca04d
web, patch
-
github.com
/wagtail/wagtail/commit/4620423cb22c5253391a0f04178089c1162f6e2e
web, patch
-
github.com
/wagtail/wagtail/commit/575c0d7c18c7716ed73f7a3c2720ad75956f0a85
web, patch
-
github.com
/wagtail/wagtail/commit/605a5569686565e035313222e1bc2f9802fbc55b
web, patch
-
github.com
/wagtail/wagtail/security/advisories/GHSA-p5cm-246w-84jm
web, mitigation, vendor-advisory, advisory
-
github.com
/wagtail/wagtail/releases/tag/v6.3.8
web, product, release-notes, advisory
-
github.com
/wagtail/wagtail/releases/tag/v7.0.6
web, product, release-notes, advisory
-
github.com
/wagtail/wagtail/releases/tag/v7.2.3
web, product, release-notes, advisory
-
github.com
/wagtail/wagtail/releases/tag/v7.3.1
web, product, release-notes, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-28222
advisory
-
github.com
/wagtail/wagtail
package
Sources
- CVE List CVE-2026-28222
- GitHub Advisory GHSA-p5cm-246w-84jm
- NVD CVE-2026-28222
- OSV PYSEC-2026-2307
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.