PT-2021-9673 · Nanohttpd · Nanohttpd

Published

2021-02-23

·

Updated

2021-02-26

·

CVE-2020-13697

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions NanoHTTPD versions through 2.3.1
Description An issue was discovered in RouterNanoHTTPD.java. The GeneralHandler class implements a basic GET handler that prints debug information as an HTML page. Any web server that extends this class without implementing its own GET handler is vulnerable to reflected XSS, because the GeneralHandler GET handler prints user input passed through the query string without any sanitization.
Recommendations For versions through 2.3.1, consider implementing a custom GET handler to sanitize user input passed through the query string, or restrict access to the GeneralHandler class to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-13697
GHSA-PR5M-4W22-8483

Affected Products

Nanohttpd