XSS in Python
CVE-2019-16935
The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x through 3.7.4 has XSS via the server_title field. This occurs in Lib/DocXMLRPCServer.py in Python 2.x, and in Lib/xmlrpc/server.py in Python 3.x. If set_server_title is called with untrusted input, arbitrary JavaScript can be delivered to clients that visit the http URL for this server.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.047 (91.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 91.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.047 · newest: 0.047 · change: 0.000
Affected products
- Python
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/4151-1/ (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/4151-2/ (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2019-16935?
- CVE-2019-16935 is a medium-severity vulnerability in Python, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2019-09-28.
- How severe is CVE-2019-16935?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2019-16935 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.