What’s Vulnerable › Vulnerabilities

CVE-2025-1746: Cross-Site Scripting vulnerability in OpenCart

Description

Cross-Site Scripting vulnerability in OpenCart versions prior to 4.1.0. This vulnerability allows an attacker to execute JavaScript code in the victim's browser by sending the victim a malicious URL using the search in the /product/search endpoint. This vulnerability could be exploited to steal sensitive user data, such as session cookies, or to perform actions on behalf of the user.

Affected products

How to fix

Upgrade to a fixed version: OpenCart 4.1.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-1746 or the next vulnerability affects your stack