CVE-2025-59412 CubeCart Vulnerable to HTML Injection in Product Reviews Allows Malicious Links and Defacement

Medium 5.4 Published Updated

Attackers can inject HTML into product reviews to deface pages or redirect users, requiring an admin to approve the review first.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-59412?

CVE-2025-59412 is a medium-severity cross-site scripting vulnerability in cubecart v6, published on 22 Sep 2025. Any signed-in user can exploit it over the network, 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, a vulnerability exists in the product reviews feature where user-supplied input is not properly sanitized before being displayed. An attacker can submit HTML tags inside the review description field. Once the administrator approves the review, the injected HTML is rendered on the product page for all visitors. This could be used to redirect users to malicious websites or to display unwanted content. This issue has been patched in version 6.5.11.

Weakness: CWE-79

Which versions are affected by CVE-2025-59412?

It affects 1 product.

Products include Cubecart Cubecart.

How do I fix CVE-2025-59412?

No fix has been published for CVE-2025-59412 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-59412 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59412 exists.

Sources

Also known as GHSA-qfrx-vvvp-h5m2.

Is CVE-2025-59412 in your software?

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

Check your SBOMs for free