CVE Catalog

CVE-2019-16935

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
4.65%

91th percentile - higher than 91% of all known CVEs

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. If set_server_title is called with untrusted input, arbitrary JavaScript can be delivered to clients that visit the HTTP URL for this server.

Risk Assessment

An attacker can execute arbitrary JavaScript in the browser of a user visiting the documentation server, potentially leading to session theft or other actions in the victim's browser context.

Recommendation

Upgrade Python to a fixed version and avoid passing untrusted data to set_server_title.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS