Advisory

GHSA-cr3q-658v-qv3x

Also known as: CVE-2018-1000640

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):

var token = "<?php echo $_GET['token']; ?>"; 

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:19 UTC
Modified
2024-04-25 22:43 UTC

Affected packages and fixes

villagedefrance/opencart-overclocked

Packagist · All systems

Affected

  • introduced 0, last affected 1.11.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences