Read the docs
TI-2023-13342 Aliases CVE-2023-28836GHSA-5286-f2rf-35c2

Wagtail vulnerable to stored Cross-site Scripting attack via ModelAdmin views

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

Wagtail is an open source content management system built on Django. Starting in version 1.5 and prior to versions 4.1.4 and 4.2.2, a stored cross-site scripting (XSS) vulnerability exists on ModelAdmin views within the Wagtail admin interface. A user with a limited-permission editor account for the Wagtail admin could potentially craft pages and documents that, when viewed by a user with higher privileges, could perform 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 with ModelAdmin enabled. For page, the vulnerability is in the "Choose a parent page" ModelAdmin view (`ChooseParentView`), available when managing pages via ModelAdmin. For documents, the vulnerability is in the ModelAdmin Inspect view (`InspectView`) when displaying document fields. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2. Site owners who are unable to upgrade to the new versions can disable or override the corresponding functionality.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00772 55th percentileScored 2026-11-07
Fix Fixed wagtail (wagtail): 4.1.1, 4.2.2wagtail (PyPI): 4.1.4, 4.2.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
wagtailwagtail1.5 and later; 4.1.1 to before 4.1.1; 4.2 and later; 4.2.2 to before 4.2.24.1.1, 4.2.2Patch availableCNA
—wagtail (PyPI)1.5 to before 4.1.44.1.4Patch availableGHSA-5286-f2rf-35c2
—wagtail (PyPI)4.2 to before 4.2.24.2.2Patch availableGHSA-5286-f2rf-35c2
  • wagtail Vendorwagtail Affected 1.5 and later; 4.1.1 to before 4.1.1; 4.2 and later; 4.2.2 to before 4.2.2 Fixed in 4.1.1, 4.2.2 Patch available CNA
  • wagtail (PyPI) Vendor— Affected 1.5 to before 4.1.4 Fixed in 4.1.4 Patch available GHSA-5286-f2rf-35c2
  • wagtail (PyPI) Vendor— Affected 4.2 to before 4.2.2 Fixed in 4.2.2 Patch available GHSA-5286-f2rf-35c2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*1.5 to before 4.1.4; 4.2 to before 4.2.2Vulnerablewagtail
  • cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:* Versions 1.5 to before 4.1.4; 4.2 to before 4.2.2 Vulnerable ·wagtail

Remediation

  • Fix · CNA wagtail (wagtail) Fixed in 4.1.1, 4.2.2
  • Fix · GHSA-5286-f2rf-35c2 wagtail (PyPI) Fixed in 4.1.4 Advisory →
  • Fix · GHSA-5286-f2rf-35c2 wagtail (PyPI) Fixed in 4.2.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-28836
  2. 2026-10-03 Alias added: GHSA-5286-f2rf-35c2

References

  • TI-2026-39163 Wagtail: Reflected XSS in dynamic image URL generator view CVSS 3.1HIGH 7.3
  • TI-2020-08875 Possible XSS attack in Wagtail CVSS 3.1MEDIUM 6.8
  • TI-2026-32180 Wagtail: Improper restriction handling on Documents and Images API CVSS 3.1MEDIUM 5.3
  • TI-2026-22558 Wagtail: Improper escaping of HTML (Cross-site Scripting) in simple_translation admin interface CVSS 3.1MEDIUM 6.1
  • TI-2026-22557 Wagtail: Improper escaping of HTML (Cross-site Scripting) on TableBlock class attributes CVSS 3.1MEDIUM 6.1
  • TI-2024-26273 Wagtail regular expression denial-of-service via search query parsing CVSS 3.1MEDIUM 6.5
See all 22 →

Sources