CVE-2019-16935

MEDIUM CVSS 3.1: 6.1 EPSS 4.65%
Updated Oct 07, 2026
Python
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions 2.7.0 — 3.7.5
Fixed In 2.7.17
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 10

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
2.7.0 2.7.17
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.0.0 3.5.8
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 3.6.10
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.7.0 3.7.5
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
— —

References 23

https://usn.ubuntu.com/4151-1/
USN-4151-1
https://usn.ubuntu.com/4151-2/
USN-4151-2
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html
openSUSE-SU-2019:2389
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html
openSUSE-SU-2019:2393
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.html
openSUSE-SU-2019:2438
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.html
openSUSE-SU-2019:2453
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-0d3fcae639
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-74ba24605e
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-b06ec6159b
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-758824a3ff
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-d202cda4f8
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-57462fa10d
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-7ec5bb5d22
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2019-a268ba7b23
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
openSUSE-SU-2020:0086
https://www.oracle.com/security-alerts/cpujul2020.html
NVD
https://bugs.python.org/issue38243
NVD
https://github.com/python/cpython/pull/16373
NVD
https://github.com/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd…
NVD
https://github.com/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291…
NVD
https://security.netapp.com/advisory/ntap-20191017-0004/
NVD
https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
[debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update
https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html
[debian-lts-announce] 20210417 [SECURITY] [DLA 2628-1] python2.7 security update