GHSA-cr3q-658v-qv3x

    Dashboard / Vulnerabilities / GHSA-cr3q-658v-qv3x

    GHSA-cr3q-658v-qv3x

    Published: 14 May 2022Last Modified: 25 Apr 2024

    Summary: OpenCart-Overclocked Cross-site Scripting Vulnerability

    Details: Reflected Cross-Site Scripting (XSS) may allow an attacker to execute JavaScript code in the context of the victim’s browser. This may lead to unauthorised actions being performed, unauthorised access to data, stealing of session information, denial of service, etc. An attacker needs to coerce a user into visiting a link with the XSS payload to be properly exploited against a victim. The OpenCart Overclocked OpenBay template overly trusts user-controlled input. This lack of sufficient sanitisation allows an attacker to execute JavaScript code in the context of a victim’s browser. The code below displays unsanitised input being displayed on the victim’s page (found on line 95 [upload/admin/view/template/extension/openbay.tpl#L95](https://github.com/villagedefrance/OpenCart-Overclocked/blob/2f98e839f84beb0ed8dd11d7c0f6eb1501d44969/upload/admin/view/template/extension/openbay.tpl#L95)): ```php var token = "<?php echo $_GET['token']; ?>"; ```

    Affected packages

    Package

    Name: villagedefrance/opencart-overclocked

    Purl: pkg:composer/villagedefrance/opencart-overclocked

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    v1.11.0
    v1.11.1

    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