CVE-2025-59411 CubeCart Stored/Reflected HTML Injection Vulnerability in Contact Enquiry
Attackers can inject malicious HTML into contact forms, potentially executing scripts in admin email clients or interfaces, requiring an upgrade to CubeCart.
- 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
- None listed
What is CVE-2025-59411?
CVE-2025-59411 is a medium-severity cross-site scripting vulnerability in cubecart v6, published on 22 Sep 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
CubeCart is an ecommerce software solution. Prior to version 6.5.11, the contact form’s Enquiry field accepts raw HTML and that HTML is included verbatim in the email sent to the store admin. By submitting HTML in the Enquiry, the admin receives an email containing that HTML. This indicates user input is not being escaped or sanitized before being output in email (and possibly when re-rendering the form), leading to Cross-Site Scripting / HTML injection risk in email clients or admin UI. This issue has been patched in version 6.5.11.
Weakness: CWE-79
Which versions are affected by CVE-2025-59411?
It affects 1 product.
Products include Cubecart Cubecart.
How do I fix CVE-2025-59411?
No fix has been published for CVE-2025-59411 yet. Limit exposure of the affected software until one is available.
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-59411 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59411 exists.
Other vulnerabilities in cubecart v6
Sources
Also known as GHSA-5hg3-m3q3-v2p4.