CVE-2025-1748 HTML injection vulnerability in OpenCart
Attackers can inject malicious HTML into the registration page via URL parameters, potentially altering the victim's browser view.
- 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-1748?
CVE-2025-1748 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/register.
Weakness: CWE-79
Which versions are affected by CVE-2025-1748?
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-1748?
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-1748 being exploited?
There is no known exploitation of CVE-2025-1748 in the wild and no public exploit code.
Other vulnerabilities in OpenCart
Sources
Also known as BIT-opencart-2025-1748, GHSA-pm77-vj97-hfv8.