CVE-2023-28836

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.
References
Link Resource
https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview Product
https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview Product
https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 Patch
https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713 Release Notes
https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af Release Notes
https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 Patch
https://github.com/wagtail/wagtail/releases/tag/v4.2.2 Release Notes
https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2 Mitigation Vendor Advisory
https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview Product
https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview Product
https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 Patch
https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713 Release Notes
https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af Release Notes
https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 Patch
https://github.com/wagtail/wagtail/releases/tag/v4.2.2 Release Notes
https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2 Mitigation Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*
cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:56

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.4
v2 : unknown
v3 : 6.4
References () https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview - Product () https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview - Product
References () https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview - Product () https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview - Product
References () https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 - Patch () https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 - Patch
References () https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713 - Release Notes () https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713 - Release Notes
References () https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af - Release Notes () https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af - Release Notes
References () https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 - Patch () https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 - Patch
References () https://github.com/wagtail/wagtail/releases/tag/v4.2.2 - Release Notes () https://github.com/wagtail/wagtail/releases/tag/v4.2.2 - Release Notes
References () https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2 - Mitigation, Vendor Advisory () https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2 - Mitigation, Vendor Advisory

Information

Published : 2023-04-03 17:15

Updated : 2024-11-21 07:56


NVD link : CVE-2023-28836

Mitre link : CVE-2023-28836

CVE.ORG link : CVE-2023-28836


JSON object : View

Products Affected

torchbox

  • wagtail
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')