Codazon Magento Themes Reflected Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting (XSS) vulnerability has been identified in Codazon Magento Themes, specifically in versions 1.1.0.0 prior to 2.4.7. This vulnerability allows attackers to execute arbitrary JavaScript in the context of a user's browser. The issue arises in the 'cdz-cat-search' widget, where the 'cat' parameter is improperly sanitized before being rendered in the 'data-search' attribute of the frontend template. Exploitation requires user interaction, as the victim must click on a crafted link that injects malicious payloads into the vulnerable parameter.

Impact

Successful exploitation of this vulnerability allows for reflected cross-site scripting, where injected scripts are executed immediately in the user's browser. This could lead to session hijacking, credential theft, and unauthorized access to the victim's account. Additionally, there is a potential for privilege escalation by taking over authenticated sessions.

Reproduction

To reproduce this vulnerability, a crafted URL must be created with a malicious payload injected into the 'cat' parameter. This URL can then be shared with a victim, who must click on it to trigger the XSS payload execution. The vulnerability can also be exploited through alternate entry points, such as the homepage, depending on the specific Codazon theme in use.

Remediation

As of now, no official patch has been released by Codazon. Users are advised to manually sanitize inputs and encode outputs in the template rendering logic. Until a patch is available, monitoring for suspicious requests containing crafted 'cat' parameters is recommended.

Added: Oct 1, 2025, 6:18 PM
Updated: Oct 1, 2025, 7:25 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.5
exploitability
7.7
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.