{"id":"CVE-2019-16935","aliases":["CVE-2019-16935","PSF-2019-6"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected XSS in DocXMLRPCServer","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La documentación del servidor XML-RPC en Python versiones hasta 2.7.16, versiones 3.x hasta 3.6.9 y versiones 3.7.x hasta 3.7.4, presenta una vulnerabilidad de tipo XSS por medio del campo server_title. Esto ocurre en Lib/DocXMLRPCServer.py en Python versión 2.x, y en Lib/xmlrpc/server.py en Python versión 3.x. Si es llamada set_server_title con una entrada no confiable, puede ser entregado un JavaScript arbitrario a los clientes que visitan la URL http para este servidor.","source":"nvd"}],"published":"2019-09-28T01:33:02.000Z","modified":"2026-10-07T19:17:12.787Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1698cacfb924d1df452e78d11a4bf81ae7777389"},{"type":"git","status":"affected","fixed":"39a0c7555530e31c6941a78da19b6a5b61170687"},{"type":"git","status":"affected","fixed":"3fe1b19265b55c290fc956e9aafcf661803782de"},{"type":"git","status":"affected","fixed":"6447b9f9bd27e1f6b04cef674dd3a7ab27bf4f28"},{"type":"git","status":"affected","fixed":"8eb64155ff26823542ccf0225b3d57b6ae36ea89"},{"type":"git","status":"affected","fixed":"e8650a4f8c7fb76f570d4ca9c1fbe44e91c8dfaa"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","introduced":"2.7.0","fixed":"2.7.17"},{"status":"affected","introduced":"3.0.0","fixed":"3.5.8"},{"status":"affected","introduced":"3.6.0","fixed":"3.6.10"},{"status":"affected","introduced":"3.7.0","fixed":"3.7.5"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.04"},{"status":"affected","version":"14.04"},{"status":"affected","version":"16.04"},{"status":"affected","version":"18.04"},{"status":"affected","version":"19.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://usn.ubuntu.com/4151-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/4151-2/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html","tags":["mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html","tags":["mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.html","tags":["mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.html","tags":["mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEARDOTXCYPYELKBD2KWZ27GSPXDI3GQ/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OYGESQSGIHDCIGOBVF7VXCMIE6YDWRYB/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","tags":["mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugs.python.org/issue38243","tags":["exploit","report","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","psf","nvd"]},{"url":"https://github.com/python/cpython/pull/16373","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd/Lib/DocXMLRPCServer.py#L213","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291/Lib/xmlrpc/server.py#L897","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20191017-0004/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00015.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-07T18:16:39.926Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-16935","url":"https://www.cve.org/CVERecord?id=CVE-2019-16935","licence":"CVE Terms of Use","modified":"2026-10-07T18:18:30.322Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2019-6","url":"https://osv.dev/vulnerability/PSF-2019-6","licence":"CC-BY-4.0","modified":"2025-10-09T01:03:54.373Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-16935","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16935","licence":"Public domain","modified":"2026-10-07T19:17:12.787Z"}],"updatedAt":"2026-11-25T22:57:47.233Z","epss":{"score":0.04653,"percentile":0.91938,"date":"2026-12-01T12:00:22.000Z"}}