Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Wagtail versions from 1.5 up to but not including 4.1.4, and 4.2 up to but not including 4.2.2, are vulnerable to stored cross-site scripting in ModelAdmin views. An attacker needs a limited-permission editor account on the Wagtail admin, and can then get script run in the browser of a higher-privileged user who views the crafted content, acting with that user's credentials. Upgrade to Wagtail 4.1.4 or 4.2.2. Sites that cannot upgrade can disable ModelAdmin for page models or turn off the inspect view, or override the affected views to escape HTML output.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.4 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0084, the 55th percentile, on 25 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:37 UTC First seen by agentprime
- 31 Oct 2026, 14:37 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5286-f2rf-35c2
- OSV: GHSA-5286-f2rf-35c2
- github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2
- nvd.nist.gov/vuln/detail/CVE-2023-28836
- github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62
- github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713
- github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af
- github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91
- docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview
- docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview
- github.com/pypa/advisory-database/tree/main/vulns/wagtail/PYSEC-2023-55.yaml
- github.com/wagtail/wagtail
- github.com/wagtail/wagtail/releases/tag/v4.1.4
- github.com/wagtail/wagtail/releases/tag/v4.2.2