# CVE-2019-16935: Reflected XSS in DocXMLRPCServer

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.65%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-09-28T01:33:02.000Z
- Modified: 2026-10-07T19:17:12.787Z
- Also known as: PSF-2019-6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/python/cpython: before 1698cacfb924d1df452e78d11a4bf81ae7777389; before 39a0c7555530e31c6941a78da19b6a5b61170687; before 3fe1b19265b55c290fc956e9aafcf661803782de; before 6447b9f9bd27e1f6b04cef674dd3a7ab27bf4f28; before 8eb64155ff26823542ccf0225b3d57b6ae36ea89; before e8650a4f8c7fb76f570d4ca9c1fbe44e91c8dfaa
- python python: from 2.7.0 before 2.7.17; from 3.0.0 before 3.5.8; from 3.6.0 before 3.6.10; from 3.7.0 before 3.7.5
- debian debian_linux: 9.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.04

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://bugs.python.org/issue38243> (exploit, report, vendor-advisory)
- <https://github.com/python/cpython/pull/16373> (exploit, third-party-advisory)
- <https://usn.ubuntu.com/4151-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4151-2/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEARDOTXCYPYELKBD2KWZ27GSPXDI3GQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OYGESQSGIHDCIGOBVF7VXCMIE6YDWRYB/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujul2020.html> (third-party-advisory)
- <https://github.com/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd/Lib/DocXMLRPCServer.py#L213> (third-party-advisory)
- <https://github.com/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291/Lib/xmlrpc/server.py#L897> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20191017-0004/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2019-16935](https://www.cve.org/CVERecord?id=CVE-2019-16935), CVE Terms of Use, modified 2026-10-07
- Python Software Foundation: [PSF-2019-6](https://osv.dev/vulnerability/PSF-2019-6), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2019-16935](https://nvd.nist.gov/vuln/detail/CVE-2019-16935), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2019-16935 · Whole record: https://cve.day/CVE-2019-16935.json · Rebuilt by cve.day 2026-11-25T22:57:47.233Z
