CVE-2019-16935
MEDIUM severity · CVSS 6.1 · Cross-site scripting (XSS)
6.1CVSS MEDIUM
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
Confidentiality impactLow
Integrity impactLow
Availability impactNone
Exploit probability (EPSS)2%
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Additional information
- NVD record
- https://bugs.python.org/issue38243Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.htmlAdvisory
- https://github.com/python/cpython/blob/35c0809158be7feae4c4f877a08b93baea2d8291/Lib/xmlrpc/server.py#L897Advisory
- https://github.com/python/cpython/blob/e007860b8b3609ce0bc62b1780efaa06241520bd/Lib/DocXMLRPCServer.py#L213Advisory