{"cve":"CVE-2026-28222","nvd":{"published":"2026-03-05T20:16:15.277","modified":"2026-06-17T10:28:21.563","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/wagtail/wagtail/commit/0375094bb57ce6e527005c2bb2e871dd20bca04d","https://github.com/wagtail/wagtail/commit/4620423cb22c5253391a0f04178089c1162f6e2e","https://github.com/wagtail/wagtail/commit/575c0d7c18c7716ed73f7a3c2720ad75956f0a85","https://github.com/wagtail/wagtail/commit/605a5569686565e035313222e1bc2f9802fbc55b","https://github.com/wagtail/wagtail/releases/tag/v6.3.8"],"products":["torchbox:wagtail"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-28222","score":0.00503,"percentile":0.4304,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p5cm-246w-84jm","url":"https://osv.dev/vulnerability/GHSA-p5cm-246w-84jm","summary":"Wagtail Vulnerable to Cross-site Scripting in TableBlock class attributes","modified":"2026-07-13T07:26:36.456372469Z","packages":[{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":["<6.3.8"],"fixed":["6.3.8"]},{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":[">=6.4rc1 <7.0.6"],"fixed":["7.0.6"]},{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":[">=7.1rc1 <7.2.3"],"fixed":["7.2.3"]},{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":[">=7.3rc1 <7.3.1"],"fixed":["7.3.1"]}]},{"id":"PYSEC-2026-2307","url":"https://osv.dev/vulnerability/PYSEC-2026-2307","summary":"","modified":"2026-07-13T07:15:46.687021705Z","packages":[{"ecosystem":"PyPI","name":"wagtail","purl":"pkg:pypi/wagtail","ranges":["<6.3.8",">=6.4 <7.0.6",">=7.1 <7.2.3"],"fixed":["6.3.8","7.0.6","7.2.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}