Description
CubeCart is an ecommerce software solution. Prior to 6.7.5, the _errorMessage method in classes/gui.class.php uses strip_tags to permit anchor elements in error, information, and warning messages while retaining unsafe href values and onclick event handlers. Attacker-controlled search or input data that reaches a GUI message can carry a javascript: URI or event handler through the filter, and viewing or interacting with the rendered anchor executes JavaScript in the victim's browser session, enabling session exposure or unauthorized application actions. This issue is fixed in version 6.7.5.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected products
- cubecart / v6< 6.7.5 – < 6.7.5
Exploits & proofs of concept
- exploit-dbCubeCart 6.7.4 - Cross-Site Scriptingby Mikail KOCADAĞ
References
- VENDOR_ADVISORYhttps://github.com/cubecart/v6/security/advisories/GHSA-v55x-fh73-29vq
- PATCHhttps://github.com/cubecart/v6/commit/7c4c0081fd346578a95738f480ef647116ee1c82
- MISChttps://github.com/cubecart/v6/blob/6.7.5/admin/sources/release_notes/6.7.5.inc.php
- PATCHhttps://github.com/cubecart/v6/releases/tag/6.7.5
Updated 39m ago · 8 sources