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 |
https://github.com/NanoHttpd/nanohttpd | Product Third Party Advisory |
https://www.vdoo.com/advisories | Third Party Advisory |
Configurations
History
21 Nov 2024, 05:01
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/NanoHttpd/nanohttpd - Product, Third Party Advisory | |
References | () https://www.vdoo.com/advisories - Third Party Advisory |
Information
Published : 2021-02-23 08:15
Updated : 2024-11-21 05:01
NVD link : CVE-2020-13697
Mitre link : CVE-2020-13697
CVE.ORG link : CVE-2020-13697
JSON object : View
Products Affected
nanohttpd
- nanohttpd
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')