GitHub Advisoryadvisory · Packagist
GHSA-cr3q-658v-qv3x OpenCart-Overclocked Cross-site Scripting Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1000640
- Ecosystem
- Packagist
- Packages
- villagedefrance/opencart-overclocked
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-04-25
Affected packages
• Packagist villagedefrance/opencart-overclocked: <= 1.11.1 (no fix yet)
Description
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):
```php
var token = "";
```
Related
Alias · CVE (1)
- CVE-2018-1000640 OpenCart-Overclocked version <=1.11.1 contains a Cross Site Scripting (XSS) vulnerability in User input entered unsanitised within JS… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000640 advisory
- https://github.com/villagedefrance/OpenCart-Overclocked/issues/190 web
- https://github.com/418sec/OpenCart-Overclocked/pull/1 web
- https://0dd.zone/2018/08/05/OpenCart-Overclocked-Reflected-XSS web
- https://github.com/villagedefrance/OpenCart-Overclocked package