Skip to content
OpenAdvisories
Medium · 6.1 CVE-2019-16935 EUVD-2019-7426GHSA-qhmv-wcg2-h8hx

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. T…

Published Sep 28, 2019 · Updated Oct 7, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jython 2.7.2+repack1-5 —
Debian 13 jython 2.7.2+repack1-5 —
Debian 12 jython 2.7.2+repack1-5 —
Debian 9 python2.7 2.7.13-2+deb9u5 DLA-2628-1
Debian 9 python3.5 3.5.3-1+deb9u2 DLA-2280-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python3.10 3.10.12-1~22.04.4 USN-6891-1
Ubuntu 20.04 LTS python3.8 3.8.10-0ubuntu1~20.04.10 USN-6891-1
Ubuntu 18.04 LTS python2.7 2.7.15-4ubuntu4~18.04.2 USN-4151-1
Ubuntu 18.04 LTS python3.6 3.6.8-1~18.04.3 USN-4151-1
Ubuntu 16.04 LTS python2.7 2.7.12-1ubuntu0~16.04.9 USN-4151-1
Ubuntu 16.04 LTS python3.5 3.5.2-2ubuntu0~16.04.9 USN-4151-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS python3.11 3.11.0~rc1-1~22.04.1~esm1 USN-6891-1
Ubuntu Pro 20.04 LTS python3.9 3.9.5-3ubuntu0~20.04.1+esm2 USN-6891-1
Ubuntu Pro 18.04 LTS python3.6 3.6.9-1~18.04ubuntu1.13+esm2 USN-6891-1
Ubuntu Pro 18.04 LTS python3.7 3.7.5-2ubuntu1~18.04.2+esm3 USN-6891-1
Ubuntu Pro 18.04 LTS python3.8 3.8.0-3ubuntu1~18.04.2+esm2 USN-6891-1
Ubuntu Pro 16.04 LTS python3.5 3.5.2-2ubuntu0~16.04.13+esm13 USN-6891-1
Ubuntu Pro 14.04 LTS python2.7 2.7.6-8ubuntu0.6+esm3 USN-4151-2
Ubuntu Pro 14.04 LTS python3.4 3.4.3-1ubuntu1~14.04.7+esm4 USN-4151-2
Ubuntu Pro 14.04 LTS python3.5 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 USN-6891-1
ReleasePackageFixed inAdvisory
RHEL 8 Cython +1 0.28.1-7.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 PyYAML +1 3.12-16.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 babel +1 2.5.1-9.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 numpy +3 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f RHSA-2020:1605
RHEL 8 pytest +1 3.4.2-13.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-PyMySQL +1 0.8.0-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-attrs +1 17.4.0-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-backports +1 1.0-15.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-backports-ssl_match_hostname +1 3.5.0.1-11.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-chardet +1 3.0.4-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-coverage +1 4.5.1-4.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-dns +1 1.15.0-10.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-docs +2 2.7.16-2.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-docutils +1 0.14-12.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-funcsigs +1 1.0.2-13.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-idna +1 2.5-7.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-ipaddress +1 1.0.18-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-jinja2 +1 2.10-8.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-lxml +1 4.2.3-3.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-markupsafe +1 0.23-19.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-mock +1 2.0.0-13.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-nose +2 1.3.7-30.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pluggy +1 0.6.0-8.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-psycopg2 +4 2.7.5-7.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-py +1 1.5.3-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pygments +1 2.2.0-20.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pysocks +1 1.6.8-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-pytest-mock +1 1.9.0-4.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-requests +1 2.20.0-3.module+el8.2.0+4577+feefd9b8 RHSA-2020:1605
RHEL 8 python-setuptools_scm +1 1.15.7-6.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-six +1 1.11.0-5.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python-sqlalchemy +2 1.3.2-1.module+el8.1.0+2994+98e054d6 RHSA-2020:1605
RHEL 8 python-urllib3 +1 1.24.2-1.module+el8.1.0+3280+19512f10 RHSA-2020:1605
RHEL 8 python-virtualenv +1 15.1.0-19.module+el8.1.0+3507+d69c168d RHSA-2020:1605
RHEL 8 python-wheel +2 1:0.31.1-2.module+el8.1.0+3725+aac5cd17 RHSA-2020:1605
RHEL 8 python2 +6 2.7.17-1.module+el8.2.0+4561+f4e0d66a RHSA-2020:1605
RHEL 8 python2-bson +3 3.6.1-11.module+el8.1.0+3446+c3d52da3 RHSA-2020:1605
RHEL 8 python2-pip +1 9.0.3-16.module+el8.2.0+5478+b505947e RHSA-2020:1605
RHEL 8 python2-rpm-macros 3-38.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 python2-setuptools +1 39.0.1-11.module+el8.1.0+3446+c3d52da3 RHSA-2020:1605
RHEL 8 python3 +7 3.6.8-31.el8 RHSA-2020:4433
RHEL 8 pytz +1 2017.2-12.module+el8.1.0+3111+de3f2d8e RHSA-2020:1605
RHEL 8 scipy +1 1.0.0-20.module+el8.1.0+3323+7ac3e00f RHSA-2020:1605
RHEL 7 python +6 2.7.5-89.el7 RHSA-2020:3911
RHEL 7 python3 +6 3.6.8-17.el7 RHSA-2020:3888
RHEL 3 rh-python36-python +6 3.6.12-1.el6 RHSA-2020:4285
RHEL 3 rh-python36-python-pip 9.0.1-5.el6 RHSA-2020:4285
RHEL 3 rh-python36-python-virtualenv 15.1.0-3.el6 RHSA-2020:4285

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 python2-Cython 0.28.1-7.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-PyMySQL 0.8.0-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-attrs 17.4.0-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-chardet 3.0.4-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-coverage 4.5.1-4.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-dns 1.15.0-10.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-docs +1 2.7.16-2.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-docutils 0.14-12.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-funcsigs 1.0.2-13.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-idna 2.5-7.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-ipaddress 1.0.18-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-markupsafe 0.23-19.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-mock 2.0.0-13.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pluggy 0.6.0-8.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-psycopg2 +3 2.7.5-7.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-py 1.5.3-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pysocks 1.6.8-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pytest 3.4.2-13.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pytest-mock 1.9.0-4.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pytz 2017.2-12.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-pyyaml 3.12-16.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-requests 2.20.0-3.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-rpm-macros 3-38.module_el8.6.0+2781+fed64c13 ALSA-2020:1605
AlmaLinux 8 python2-setuptools_scm 1.15.7-6.module_el8.6.0+2781+fed64c13 ALSA-2020:1605

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 Cython 0.28.1-7.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 PyYAML 3.12-16.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 babel 2.5.1-9.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 pytest 3.4.2-13.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-PyMySQL 0.8.0-10.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-attrs 17.4.0-10.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-chardet 3.0.4-10.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-coverage 4.5.1-4.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-dns 1.15.0-10.el8 RLSA-2020:1605
Rocky Linux 8 python-docs 2.7.16-2.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-docutils 0.14-12.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-funcsigs 1.0.2-13.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-idna 2.5-7.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-ipaddress 1.0.18-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-jinja2 2.10-8.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-lxml 4.2.3-3.el8 RLSA-2020:1605
Rocky Linux 8 python-markupsafe 0.23-19.el8 RLSA-2020:1605
Rocky Linux 8 python-mock 2.0.0-13.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-nose 1.3.7-30.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-pluggy 0.6.0-8.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-psycopg2 2.7.5-7.el8 RLSA-2020:1605
Rocky Linux 8 python-py 1.5.3-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-pygments 2.2.0-20.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-pymongo 3.6.1-11.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-pysocks 1.6.8-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-pytest-mock 1.9.0-4.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-requests 2.20.0-3.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-setuptools_scm 1.15.7-6.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 python-virtualenv 15.1.0-19.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python-wheel 1:0.31.1-2.module+el8.3.0+120+426d8baf RLSA-2020:1605
Rocky Linux 8 python2-rpm-macros 3-38.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 pytz 2017.2-12.module+el8.4.0+403+9ae17a31 RLSA-2020:1605
Rocky Linux 8 scipy 1.0.0-20.module+el8.3.0+120+426d8baf RLSA-2020:1605
ReleasePackageFixed inAdvisory
SLES 15 SP2 python3 +1 3.6.12-3.67.2 SUSE-SU-2020:3930-1
SLES 15 SP1 python +1 2.7.14-7.24.1 SUSE-SU-2020:0234-1, SUSE-SU-2019:2743-1
SLES 15 SP1 python3 +1 3.6.9-3.39.1 SUSE-SU-2020:3930-1, SUSE-SU-2020:0114-1, SUSE-SU-2019:2802-1
SLES 15 SP1 python3-core 3.6.12-3.67.2 SUSE-SU-2020:3930-1
SLES 15 python +1 2.7.14-7.24.1 SUSE-SU-2020:0234-1, SUSE-SU-2019:2743-1
SLES 15 python3 +1 3.6.9-3.39.1 SUSE-SU-2020:3930-1, SUSE-SU-2020:0114-1, SUSE-SU-2019:2802-1
SLES 15 python3-core 3.6.12-3.67.2 SUSE-SU-2020:3930-1
SLES 12 SP5 python +2 2.7.13-28.36.1 SUSE-SU-2019:2748-2
SLES 12 SP5 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES 12 SP4 python +2 2.7.13-28.36.1 SUSE-SU-2019:2748-1
SLES 12 SP4 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES 12 SP2 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES 12 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES 2 python +1 2.7.14-7.24.1 SUSE-SU-2020:0234-1, SUSE-SU-2019:2743-1
SLES for SAP 15 python3 +1 3.6.12-3.67.2 SUSE-SU-2020:3930-1
SLES for SAP 12 SP5 python +2 2.7.13-28.36.1 SUSE-SU-2019:2748-2
SLES for SAP 12 SP5 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES for SAP 12 SP4 python +2 2.7.13-28.36.1 SUSE-SU-2019:2748-1
SLES for SAP 12 SP4 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES for SAP 12 SP3 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLES for SAP 12 SP2 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SLE HPC 15 python3 +1 3.6.12-3.67.2 SUSE-SU-2020:3930-1
SUSE OpenStack Cloud Crowbar 9 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SUSE OpenStack Cloud Crowbar 8 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SUSE OpenStack Cloud 9 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SUSE OpenStack Cloud 8 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SUSE OpenStack Cloud 7 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SUSE HPE Helion OpenStack 8 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
SUSE Enterprise Storage 5 python 2.7.13-28.36.1 SUSE-SU-2019:2748-1
SUSE Enterprise Storage 5 python3 +1 3.4.10-25.52.1 SUSE-SU-2020:2699-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python 2.7.18-8.1 openSUSE-SU-2024:11202-1
openSUSE Tumbleweed python36 3.6.15-1.1 openSUSE-SU-2024:11284-1
openSUSE Leap 15.2 python3 +2 3.6.12-lp152.4.14.1 openSUSE-SU-2020:2332-1
openSUSE Leap 15.1 python +1 2.7.14-lp151.10.10.1 openSUSE-SU-2019:2393-1
openSUSE Leap 15.1 python-base 2.7.14-lp151.10.10.2 openSUSE-SU-2019:2393-1
openSUSE Leap 15.1 python3 +1 3.6.9-lp151.6.4.1 openSUSE-SU-2020:2333-1, openSUSE-SU-2020:0086-1, openSUSE-SU-2019:2438-1
openSUSE Leap 15.1 python3-core +1 3.6.12-lp151.6.32.1 openSUSE-SU-2020:2333-1
openSUSE Leap 15.0 python 2.7.14-lp150.6.21.1 openSUSE-SU-2019:2389-1
openSUSE Leap 15.0 python3 +1 3.6.9-lp150.2.14.1 openSUSE-SU-2019:2453-1
ReleasePackageFixed inAdvisory
Alpine v3.24 python3 3.7.5-r0 —
Alpine v3.23 python3 3.7.5-r0 —
Alpine v3.22 python3 3.7.5-r0 —
Alpine v3.21 python3 3.7.5-r0 —
Alpine v3.20 python3 3.7.5-r0 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 python3 3.7.5-r0 —
Alpine v3.18 python3 3.7.5-r0 —
Alpine v3.17 python3 3.7.5-r0 —
Alpine v3.16 python3 3.7.5-r0 —
Alpine v3.15 python2 2.7.16-r3 —
Alpine v3.15 python3 3.7.5-r0 —
Alpine v3.14 python2 2.7.16-r3 —
Alpine v3.14 python3 3.7.5-r0 —
Alpine v3.13 python2 2.7.16-r3 —
Alpine v3.13 python3 3.7.5-r0 —
Alpine v3.12 python2 2.7.16-r3 —
Alpine v3.12 python3 3.7.5-r0 —
Alpine v3.11 python2 2.7.16-r3 —
Alpine v3.11 python2-tkinter 2.7.17-r0 —
Alpine v3.11 python3 3.7.5-r0 —
Alpine v3.10 python2-tkinter 2.7.17-r0 —
Alpine v3.10 python3 3.7.5-r0 —
Alpine v3.9 python3 3.6.9-r2 —
Alpine v3.8 python3 3.6.9-r1 —
Alpine v3.7 python3 3.6.9-r1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 python3-idle +6 3.6.8-31.0.1.el8 ELSA-2020-4433
Oracle Linux 7 python +6 2.7.5-89.0.1.el7 ELSA-2020-3911
Oracle Linux 7 python3 +6 3.6.8-17.0.1.el7 ELSA-2020-3888

Advisories 34

References