Security mailing lists by PureSourceCode

CVE-2023-28836

MEDIUM 5.4CVSS 3.1

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

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.

Published
3 Apr 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-5286-f2rf-35c2PYSEC-2023-55
Sources
NVDJSONOSV GHSA-5286-f2rf-35c2JSONOSV PYSEC-2023-55JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 1.5, < 4.1.4 4.1.4
NVD torchbox wagtail
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
>= 4.2, < 4.2.2 4.2.2
OSV PyPI wagtail >= 1.5, < 4.1.4 4.1.4
OSV PyPI wagtail >= 4.2, < 4.2.2 4.2.2
OSV PyPI wagtail >= 1.5, < 4.1.4; >= 4.2, < 4.2.2 4.1.4, 4.2.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 3 Apr 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Apr 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2023)
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.