GHSA-pxcf-v868-m492

    Dashboard / Vulnerabilities / GHSA-pxcf-v868-m492

    GHSA-pxcf-v868-m492

    Published: 10 May 2021Last Modified: 13 Mar 2026
    Aliases:

    Summary: Injection and Cross-site Scripting in osm-static-maps

    Details: This affects all versions of package osm-static-maps under 3.9.0. User input given to the package is passed directly to a template without escaping `({{{ ... }}})`. As such, it is possible for an attacker to inject arbitrary HTML/JS code and depending on the context. It will be outputted as an HTML on the page which gives opportunity for XSS or rendered on the server (puppeteer) which also gives opportunity for SSRF and Local File Read.

    Affected packages

    Package

    Name: osm-static-maps

    Purl: pkg:npm/osm-static-maps

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.9.0

    Affected versions

    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-pxcf-v868-m492 | CVE-DB