CVE-2025-1749 HTML injection vulnerability in OpenCart

Medium 4.7 Published Updated

Attackers can inject malicious HTML via URL parameters in the voucher account page, potentially executing 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-1749?

CVE-2025-1749 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/voucher.

Weakness: CWE-79

Which versions are affected by CVE-2025-1749?

1 open source package ship an affected version, including opencart. It affects 1 product.

PackageAffectedFixed in
opencart BitnamiAll versions4.1.0

Products include Opencart Opencart.

How do I fix CVE-2025-1749?

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-1749 being exploited?

There is no known exploitation of CVE-2025-1749 in the wild and no public exploit code.

Sources

Also known as BIT-opencart-2025-1749, GHSA-hqj8-x5h3-q5rg.

Is CVE-2025-1749 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free