CVE-2020-11001Medium· 5.8▾ SunlitPossible XSS attack in Wagtail
▾ Sunlit zone — Low / medium · no exploitation signal
impact 31.9 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
1.3%
Last analysed / modified upstream
A cross-site scripting (XSS) vulnerability exists on the page revision comparison view within the Wagtail admin interface. A user with a limited-permission editor account for the Wagtail admin could potentially craft a page revision history 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.
Patched versions have been released as Wagtail 2.7.2 (for the LTS 2.7 branch) and Wagtail 2.8.1 (for the current 2.8 branch).
Site owners who are unable to upgrade to the new versions can disable the revision comparison view by adding the following URL route to the top of their project's urls.py configuration:
from django.views.generic.base import RedirectView
urlpatterns = [
url(r'^admin/pages/(\d+)/revisions/compare/', RedirectView.as_view(url='/admin/')),
# ...
]
Many thanks to Vlad Gerasimenko for reporting this issue.
If you have any questions or comments about this advisory:
0x6ba1e1a86e0f8ce8)wagtail >= 1.9.0, < 2.7.2wagtail >= 2.8.0, < 2.8.1Upgrade to a patched release:
wagtail 2.7.2wagtail 2.8.1Connected by shared product, vendor, weakness, or advisory.
CVE-2021-29434Medium· 6.1Improper validation of URLs ('Cross-site Scripting') in Wagtail rich text fields
CVE-2023-28836Medium· 6.4Wagtail vulnerable to stored Cross-site Scripting attack via ModelAdmin views
CVE-2023-28837Medium· 4.4Wagtail vulnerable to denial-of-service via memory exhaustion when uploading large files
CVE-2020-15118Medium· 5.7Cross-Site Scripting in Wagtail
CVE-2026-55468Medium· 4.3Wagtail: Improper restriction handling on Pages admin API
CVE-2026-28222Medium· 6.1Wagtail Vulnerable to Cross-site Scripting in TableBlock class attributes