GHSA-g694-m8vq-gv9h

    Dashboard / Vulnerabilities / GHSA-g694-m8vq-gv9h

    GHSA-g694-m8vq-gv9h

    Published: 5 Apr 2022Last Modified: 8 Nov 2023
    Aliases:

    Summary: URL Confusion When Scheme Not Supplied in medialize/uri.js

    Details: Medialize is a Javascript URL mutation library. When parsing a URL without a scheme and with excessive slashes, like ///www.example.com, URI.js will parse the hostname as null and the path as /www.example.com. Such behaviour is different from that exhibited by browsers, which will parse ///www.example.com as http://www.example.com instead. For example, the following will cause a redirect to http://www.example.com: A fix was released in version 1.19.11.

    Affected packages

    Package

    Name: urijs

    Purl: pkg:npm/urijs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.19.11

    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-g694-m8vq-gv9h | CVE-DB