6.4
MEDIUM
CVE-2023-28836
Wagtail Stored Cross-Site Scripting (XSS) Vulnerability in ModelAdmin Views
Description

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.

INFO

Published Date :

April 3, 2023, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 7:56 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

0.5
Affected Products

The following products are affected by CVE-2023-28836 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Torchbox wagtail
1 Wagtail wagtail
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-28836.

URL 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-28836 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-28836 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview
    Added Reference https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview
    Added Reference https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62
    Added Reference https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713
    Added Reference https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af
    Added Reference https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91
    Added Reference https://github.com/wagtail/wagtail/releases/tag/v4.2.2
    Added Reference https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 10, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview No Types Assigned https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/chooseparentview.html#customising-chooseparentview Product
    Changed Reference Type https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview No Types Assigned https://docs.wagtail.org/en/stable/reference/contrib/modeladmin/inspectview.html#enabling-customising-inspectview Product
    Changed Reference Type https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 No Types Assigned https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 Patch
    Changed Reference Type https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713 No Types Assigned https://github.com/wagtail/wagtail/commit/bc84bf9815610cfbf8db3b6050c7ddcbaa4b9713 Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af No Types Assigned https://github.com/wagtail/wagtail/commit/eefc3381d37b476791610e5d30594fae443f33af Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 No Types Assigned https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 Patch
    Changed Reference Type https://github.com/wagtail/wagtail/releases/tag/v4.2.2 No Types Assigned https://github.com/wagtail/wagtail/releases/tag/v4.2.2 Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2 No Types Assigned https://github.com/wagtail/wagtail/security/advisories/GHSA-5286-f2rf-35c2 Mitigation, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:* versions from (including) 1.5 up to (excluding) 4.1.4 *cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.2.2
  • CVE Modified by [email protected]

    Apr. 03, 2023

    Action Type Old Value New Value
    Removed CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
    Removed Reference https://github.com/wagtail/wagtail/commit/158acef60615bbeeae07713b2888dad07b0ee1ff [No Types Assigned]
    Removed Reference https://github.com/wagtail/wagtail/commit/714147964a532d9797d33284f5db93d231204978 [No Types Assigned]
    Removed Reference https://github.com/wagtail/wagtail/releases/tag/v4.1.4 [No Types Assigned]
    Added Reference https://github.com/wagtail/wagtail/commit/5be2b1ed55fd7259dfdf2c82e7701dba407b8b62 [No Types Assigned]
    Added Reference https://github.com/wagtail/wagtail/commit/ff806ab173a504395fdfb3139eb0a29444ab4b91 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-28836 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-28836 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} -0.00%

score

0.41872

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability