GHSA-pr5m-4w22-8483

    Dashboard / Vulnerabilities / GHSA-pr5m-4w22-8483

    GHSA-pr5m-4w22-8483

    Published: 25 Feb 2021Last Modified: 1 Dec 2024

    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 packages

    Package

    Name: org.nanohttpd:nanohttpd-nanolets

    Purl: pkg:maven/org.nanohttpd/nanohttpd-nanolets

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    2.2.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-pr5m-4w22-8483 | CVE-DB