Security mailing lists by PureSourceCode

CVE-2026-28222

MEDIUM 6.1CVSS 3.1

Wagtail Vulnerable to Cross-site Scripting in 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
5 Mar 2026
Last modified
13 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-p5cm-246w-84jmPYSEC-2026-2307
Sources
NVDJSONOSV GHSA-p5cm-246w-84jmJSONOSV PYSEC-2026-2307JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
< 6.3.8 6.3.8
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 6.4, < 7.0.6 7.0.6
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 7.1, < 7.2.3 7.2.3
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:7.3:-:*:*:*:*:*:*
= 7.3
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:7.3:rc1:*:*:*:*:*:*
= 7.3
OSV PyPI wagtail < 6.3.8 6.3.8
OSV PyPI wagtail >= 6.4rc1, < 7.0.6 7.0.6
OSV PyPI wagtail >= 7.1rc1, < 7.2.3 7.2.3
OSV PyPI wagtail >= 7.3rc1, < 7.3.1 7.3.1
OSV PyPI wagtail < 6.3.8; >= 6.4, < 7.0.6; >= 7.1, < 7.2.3 6.3.8, 7.0.6, 7.2.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.