Lucene search

K
freebsdFreeBSDE1D3A580-CD8B-11EA-BAD0-08002728F74C
HistoryJul 20, 2020 - 12:00 a.m.

Wagtail -- XSS vulnerability

2020-07-2000:00:00
vuxml.freebsd.org
18
wagtail
xss
vulnerability
html
django
form rendering
privilege escalation

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

5.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

EPSS

0.001

Percentile

43.9%

GitHub Advisory Database:

When a form page type is made available to Wagtail editors through the
wagtail.contrib.forms app, and the page template is built using
Django’s standard form rendering helpers such as form.as_p (as directed
in the documentation), any HTML tags used within a form field’s help
text will be rendered unescaped in the page. Allowing HTML within help
text is an intentional design decision by Django; however, as a matter
of policy Wagtail does not allow editors to insert arbitrary HTML by
default, as this could potentially be used to carry out cross-site
scripting attacks, including privilege escalation. This functionality
should therefore not have been made available to editor-level users.
The vulnerability is not exploitable by an ordinary site visitor
without access to the Wagtail admin.

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

5.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

EPSS

0.001

Percentile

43.9%

Related for E1D3A580-CD8B-11EA-BAD0-08002728F74C