An issue was discovered in RouterNanoHTTPD.java in NanoHTTPD through 2.3.1. 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.
References
Link | Resource |
---|---|
https://github.com/NanoHttpd/nanohttpd | Product Third Party Advisory |
https://www.vdoo.com/advisories | Third Party Advisory |
Configurations
Information
Published : 2021-02-23 00:15
Updated : 2021-02-26 12:54
NVD link : CVE-2020-13697
Mitre link : CVE-2020-13697
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
nanohttpd
- nanohttpd