CVE-2019-16935 json
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.
published 2019-09-28 7 y ago modified 2026-10-07 32 d ago also EUVD-2019-7426
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- python python 2.7.17, 3.5.8, 3.6.10, 3.7.5
- jython Debian 14, Debian 13, Debian 12 2.7.2+repack1-5
debian advisories DEBIAN-CVE-2019-16935
- python2.7 Ubuntu 16.04 LTS 2.7.12-1ubuntu0~16.04.9
- python2.7 Ubuntu 18.04 LTS 2.7.15-4ubuntu4~18.04.2
- python3.5 Ubuntu 16.04 LTS 3.5.2-2ubuntu0~16.04.9
- python3.6 Ubuntu 18.04 LTS 3.6.8-1~18.04.3
- python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm3
- python3.4 Ubuntu Pro 14.04 LTS 3.4.3-1ubuntu1~14.04.7+esm4
- python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
ubuntu advisories UBUNTU-CVE-2019-16935
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pytz RHEL 8 2017.2-12.module+el8.1.0+3111+de3f2d8e
- babel RHEL 8 2.5.1-9.module+el8.1.0+3111+de3f2d8e
- numpy RHEL 8 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f
- scipy RHEL 8 1.0.0-20.module+el8.1.0+3323+7ac3e00f
- Cython RHEL 8 0.28.1-7.module+el8.1.0+3111+de3f2d8e
- pytest RHEL 8 3.4.2-13.module+el8.1.0+3111+de3f2d8e
- PyYAML RHEL 8 3.12-16.module+el8.1.0+3111+de3f2d8e
- python2 RHEL 8 2.7.17-1.module+el8.2.0+4561+f4e0d66a
red hat advisories RHSA-2020:1605RHSA-2020:4285RHSA-2020:3888RHSA-2020:4433RHSA-2020:3911
- python3 SLES for SAP 15, SLES 15-LTSS, SLE Module for Basesystem 15 SP2 +3 more 3.6.12-3.67.2
- python3-core SLES for SAP 15, SLES 15-LTSS, SLE Module for Development Tools 15 SP2 +5 more 3.6.12-3.67.2
- python3 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 3.4.10-25.52.1
- python3-base SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 3.4.10-25.52.1
- python SLE Module for Python 2 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Desktop Applications 15 +2 more 2.7.17-7.32.2
- python-base SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.7.17-7.32.1
- python3 SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 3.6.10-3.42.2
- python3-base SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 3.6.10-3.42.2
suse advisories SUSE-SU-2020:3930-1SUSE-SU-2020:2699-1SUSE-SU-2020:0234-1SUSE-SU-2020:0114-1SUSE-SU-2019:2748-2SUSE-SU-2019:2802-1
- python openSUSE Tumbleweed 2.7.18-8.1
- python36 openSUSE Tumbleweed 3.6.15-1.1
- python3 openSUSE Leap 15.1 3.6.12-lp151.6.32.1
- python3-core openSUSE Leap 15.1 3.6.12-lp151.6.32.1
- python3-documentation openSUSE Leap 15.1 3.6.12-lp151.6.32.1
- python3 openSUSE Leap 15.2 3.6.12-lp152.4.14.1
- python3-core openSUSE Leap 15.2 3.6.12-lp152.4.14.1
- python3-documentation openSUSE Leap 15.2 3.6.12-lp152.4.14.1
opensuse advisories openSUSE-SU-2024:11202-1openSUSE-SU-2024:11284-1openSUSE-SU-2020:2333-1openSUSE-SU-2020:2332-1openSUSE-SU-2020:0086-1openSUSE-SU-2019:2453-1
- python2-py AlmaLinux 8 1.5.3-6.module_el8.6.0+2781+fed64c13
- python2-dns AlmaLinux 8 1.15.0-10.module_el8.6.0+2781+fed64c13
- python2-idna AlmaLinux 8 2.5-7.module_el8.6.0+2781+fed64c13
- python2-mock AlmaLinux 8 2.0.0-13.module_el8.6.0+2781+fed64c13
- python2-pytz AlmaLinux 8 2017.2-12.module_el8.6.0+2781+fed64c13
- python2-attrs AlmaLinux 8 17.4.0-10.module_el8.6.0+2781+fed64c13
- python2-Cython AlmaLinux 8 0.28.1-7.module_el8.6.0+2781+fed64c13
- python2-pluggy AlmaLinux 8 0.6.0-8.module_el8.6.0+2781+fed64c13
almalinux advisories ALSA-2020:1605
- pytz Rocky Linux 8 2017.2-12.module+el8.5.0+706+735ec4b3
- pytz Rocky Linux 8 2017.2-12.module+el8.4.0+403+9ae17a31
- babel Rocky Linux 8 2.5.1-9.module+el8.4.0+403+9ae17a31
- scipy Rocky Linux 8 1.0.0-20.module+el8.3.0+120+426d8baf
- Cython Rocky Linux 8 0.28.1-7.module+el8.5.0+706+735ec4b3
- Cython Rocky Linux 8 0.28.1-7.module+el8.4.0+403+9ae17a31
- pytest Rocky Linux 8 3.4.2-13.module+el8.5.0+706+735ec4b3
- pytest Rocky Linux 8 3.4.2-13.module+el8.4.0+403+9ae17a31
rocky linux advisories RLSA-2020:1605
- python2 Alpine 3.15, Alpine 3.14, Alpine 3.13 +2 more 2.7.16-r3
- python3 Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 3.7.5-r0
- python3 Alpine 3.8, Alpine 3.7 3.6.9-r1
- python3 Alpine 3.9 3.6.9-r2
- python2-tkinter Alpine 3.11, Alpine 3.10 2.7.17-r0
alpine advisories ALPINE-CVE-2019-16935
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-16935 updated cvss 6.1
python: XSS vulnerability in the documentation XML-RPC server in server_title field
-
Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-toolsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Do 1 openshiftdo/odo-init-image-rhel7 1.1.3-2fixed: vendor fix RHSA-2021:0949
-
Red Hat Enterprise Linux AppStream (v. 8) python3-idle 3.6.8-31.el8, python3-test 3.6.8-31.el8, platform-python 3.6.8-31.el8, python3-tkinter 3.6.8-31.el8, babel 2.5.1-9.module+el8.1.0+3111+de3f2d8e, pytz 2017.2-12.module+el8.1.0+3111+de3f2d8e, +88 morefixed: vendor fix RHSA-2020:1605
-
Red Hat Enterprise Linux BaseOS (v. 8) python3 3.6.8-31.el8, python3-libs 3.6.8-31.el8, python3-test 3.6.8-31.el8, platform-python 3.6.8-31.el8fixed: vendor fix RHSA-2020:4433
-
Red Hat Enterprise Linux Client (v. 7) python 2.7.5-89.el7, python3 3.6.8-17.el7, python-libs 2.7.5-89.el7, python3-libs 3.6.8-17.el7 Red Hat Enterprise Linux Client Optional (v. 7) python3 3.6.8-17.el7, tkinter 2.7.5-89.el7, python-test 2.7.5-89.el7, python-tools 2.7.5-89.el7, python3-idle 3.6.8-17.el7, python3-test 3.6.8-17.el7, +1 more Red Hat Enterprise Linux ComputeNode (v. 7) python 2.7.5-89.el7, python3 3.6.8-17.el7, python-libs 2.7.5-89.el7, python3-libs 3.6.8-17.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) python3 3.6.8-17.el7, tkinter 2.7.5-89.el7, python-test 2.7.5-89.el7, python-tools 2.7.5-89.el7, python3-idle 3.6.8-17.el7, python3-test 3.6.8-17.el7, +1 more Red Hat Enterprise Linux Server (v. 7) python 2.7.5-89.el7, python3 3.6.8-17.el7, python-libs 2.7.5-89.el7, python3-libs 3.6.8-17.el7 Red Hat Enterprise Linux Server Optional (v. 7) python3 3.6.8-17.el7, tkinter 2.7.5-89.el7, python-test 2.7.5-89.el7, python-tools 2.7.5-89.el7, python3-idle 3.6.8-17.el7, python3-test 3.6.8-17.el7, +1 morefixed: vendor fix RHSA-2020:3911
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) python 2.7.5-89.el7, python3 3.6.8-17.el7, python-libs 2.7.5-89.el7, python3-libs 3.6.8-17.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) python3 3.6.8-17.el7, tkinter 2.7.5-89.el7, python-test 2.7.5-89.el7, python-tools 2.7.5-89.el7, python3-idle 3.6.8-17.el7, python3-test 3.6.8-17.el7, +1 more -
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python 3.6.12-1.el6, rh-python36-python-pip 9.0.1-5.el6, rh-python36-python-libs 3.6.12-1.el6, rh-python36-python-test 3.6.12-1.el6, rh-python36-python-tools 3.6.12-1.el6, rh-python36-python-tkinter 3.6.12-1.el6, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python36-python 3.6.12-1.el7, rh-python36-python-pip 9.0.1-5.el7, rh-python36-python-libs 3.6.12-1.el7, rh-python36-python-test 3.6.12-1.el7, rh-python36-python-tools 3.6.12-1.el7, rh-python36-python-tkinter 3.6.12-1.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python36-python 3.6.12-1.el7, rh-python36-python-pip 9.0.1-5.el7, rh-python36-python-libs 3.6.12-1.el7, rh-python36-python-test 3.6.12-1.el7, rh-python36-python-tools 3.6.12-1.el7, rh-python36-python-tkinter 3.6.12-1.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python 3.6.12-1.el7, rh-python36-python-pip 9.0.1-5.el7, rh-python36-python-libs 3.6.12-1.el7, rh-python36-python-test 3.6.12-1.el7, rh-python36-python-tools 3.6.12-1.el7, rh-python36-python-tkinter 3.6.12-1.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python 3.6.12-1.el6, rh-python36-python-pip 9.0.1-5.el6, rh-python36-python-libs 3.6.12-1.el6, rh-python36-python-test 3.6.12-1.el6, rh-python36-python-tools 3.6.12-1.el6, rh-python36-python-tkinter 3.6.12-1.el6, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python36-python 3.6.12-1.el7, rh-python36-python-pip 9.0.1-5.el7, rh-python36-python-libs 3.6.12-1.el7, rh-python36-python-test 3.6.12-1.el7, rh-python36-python-tools 3.6.12-1.el7, rh-python36-python-tkinter 3.6.12-1.el7, +1 morefixed: vendor fix RHSA-2020:4285
-
Red Hat Enterprise Linux 8 scipy, python36, python-nose, python-wheel, python3-bson, python3-nose, +19 more Red Hat Software Collections python27-python, python27-tkinter, python27-python-libs, python27-python-test, python27-python-toolsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 32 d ago
Exploit prediction
4.65% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/python/cpython/pull/16373 referenced PoC, tagged "exploit" by a source, unverified
- bugs.python.org https://bugs.python.org/issue38243 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/python/cpython/pull/16373
exploit, third-party-advisory
-
bugs.python.org
/issue38243
exploit, vendor-advisory
-
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%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BEARDOTXCYPYELKBD2KWZ27GSPXDI3GQ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OYGESQSGIHDCIGOBVF7VXCMIE6YDWRYB/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-01/msg00040.html
vendor-advisory, mailing-list, third-party-advisory
-
oracle.com
/security-alerts/cpujul2020.html
third-party-advisory
-
github.com
/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd/Lib/DocXMLRPCServer.py#L213
third-party-advisory
-
github.com
/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291/Lib/xmlrpc/server.py#L897
third-party-advisory
-
security.netapp.com
/advisory/ntap-20191017-0004/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/07/msg00011.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/04/msg00015.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-16935
- NVD CVE-2019-16935
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.