CVE-2019-16935

MEDIUMCVSS 6.1/10EPSS 4.65%

Last modified

CVE-2019-16935 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 4.65% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
4.65%

90.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PythonPython>= 2.7.0, < 2.7.17
PythonPython>= 3.0.0, < 3.5.8
PythonPython>= 3.6.0, < 3.6.10
PythonPython>= 3.7.0, < 3.7.5
DebianDebian Linux9.0
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-16935?
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.
How severe is CVE-2019-16935?
CVE-2019-16935 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 4.65% probability of exploitation in the next 30 days.
How do I fix CVE-2019-16935?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-16935?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST