CVE-2020-18705:
Improper Restriction of XML External Entity Reference in Quokka
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84908%
CWE
Published
8/30/2021
Updated
10/16/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
quokka | pip | <= 0.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability reports explicitly reference XML processing in quokka/core/content/views.py
and quokka/utils/atom.py
. XXE vulnerabilities typically occur when: 1) Untrusted input is incorporated into XML documents 2) XML parsers are configured to resolve external entities. The line numbers mentioned in Issue #676 (views.py:94
and atom.py:157
) suggest these functions handle feed generation. The attack vector via author/index.rss
endpoints and the lack of input sanitization mentioned in the issue confirm these are the entry points where user-controlled data enters XML processing without proper restrictions.