GitHub Advisoryadvisory · Maven

GHSA-pr5m-4w22-8483 NanoHTTPD Cross-site Scripting vulnerability

MEDIUM Published 2021-02-25 Modified 2023-09-12 Official page ↗
Aliases
CVE-2020-13697
Ecosystem
Maven
Packages
org.nanohttpd:nanohttpd-nanolets
Severity
Moderate
Weaknesses
CWE-79
Reviewed
2021-02-24

Affected packages

• Maven org.nanohttpd:nanohttpd-nanolets: <= 2.3.1 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-13697 An issue was discovered in RouterNanoHTTPD.java in NanoHTTPD through 2.3.1. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References