GHSA-PR5M-4W22-8483
Vulnerability from github – Published: 2021-02-25 16:32 – Updated: 2023-09-12 16:37
VLAI?
Summary
NanoHTTPD Cross-site Scripting vulnerability
Details
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.
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.nanohttpd:nanohttpd-nanolets"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.3.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2020-13697"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2021-02-24T07:10:37Z",
"nvd_published_at": "2021-02-23T08:15:00Z",
"severity": "MODERATE"
},
"details": "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.",
"id": "GHSA-pr5m-4w22-8483",
"modified": "2023-09-12T16:37:20Z",
"published": "2021-02-25T16:32:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13697"
},
{
"type": "PACKAGE",
"url": "https://github.com/NanoHttpd/nanohttpd"
},
{
"type": "WEB",
"url": "https://github.com/NanoHttpd/nanohttpd/blob/efb2ebf85a2b06f7c508aba9eaad5377e3a01e81/nanolets/pom.xml"
},
{
"type": "WEB",
"url": "https://github.com/NanoHttpd/nanohttpd/blob/efb2ebf85a2b06f7c508aba9eaad5377e3a01e81/nanolets/src/main/java/org/nanohttpd/router/RouterNanoHTTPD.java"
},
{
"type": "WEB",
"url": "https://www.vdoo.com/advisories/#CVE-2020-13697"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "NanoHTTPD Cross-site Scripting vulnerability"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…