Security mailing lists by PureSourceCode

CVE-2020-13697

MEDIUM 6.1CVSS 3.1

NanoHTTPD Cross-site Scripting vulnerability

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.

Published
23 Feb 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-pr5m-4w22-8483
Sources
NVDJSONOSV GHSA-pr5m-4w22-8483JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nanohttpd nanohttpd
cpe:2.3:a:nanohttpd:nanohttpd:*:*:*:*:*:*:*:*
<= 2.3.1
OSV Maven org.nanohttpd:nanohttpd-nanolets <= 2.3.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Feb 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Feb 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.