GHSA-cr3q-658v-qv3x
Dashboard / Vulnerabilities / GHSA-cr3q-658v-qv3x
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']; ?>"; ```
References: https://nvd.nist.gov/vuln/detail/CVE-2018-1000640, https://github.com/villagedefrance/OpenCart-Overclocked/issues/190, https://github.com/418sec/OpenCart-Overclocked/pull/1, https://0dd.zone/2018/08/05/OpenCart-Overclocked-Reflected-XSS, https://github.com/villagedefrance/OpenCart-Overclocked
Affected packages
Package
Name: villagedefrance/opencart-overclocked
Purl: pkg:composer/villagedefrance/opencart-overclocked
Affected ranges
Type: ECOSYSTEM
Events:
