org.nanohttpd:nanohttpd-nanolets@2.2.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.nanohttpd:nanohttpd-nanolets package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

org.nanohttpd:nanohttpd-nanolets is a HTTP server designed for embedding in other applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the RouterNanoHTTPD.java file. 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.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for org.nanohttpd:nanohttpd-nanolets.

[0,)