CVE-2025-1747 HTML injection vulnerability in OpenCart
Attackers can inject malicious HTML via login parameters to compromise user sessions or execute scripts in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-1747?
CVE-2025-1747 is a medium-severity cross-site scripting vulnerability in OpenCart, published on 28 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
HTML injection vulnerabilities in OpenCart versions prior to 4.1.0. These vulnerabilities could allow an attacker to modify the HTML of the victim's browser by sending a malicious URL and modifying the parameter name in /account/login.
Weakness: CWE-79
Which versions are affected by CVE-2025-1747?
1 open source package ship an affected version, including opencart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencart Bitnami | All versions | 4.1.0 |
Products include Opencart Opencart.
How do I fix CVE-2025-1747?
Upgrade opencart to 4.1.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-1747 being exploited?
There is no known exploitation of CVE-2025-1747 in the wild and no public exploit code.
Other vulnerabilities in OpenCart
Sources
Also known as BIT-opencart-2025-1747, GHSA-mg9h-3wx4-hhfr.