CVE-2022-35212 Cross-site scripting in n/a

Medium 6.1 Published Updated

Attackers can inject malicious scripts via the tep_db_error function in osCommerce2, potentially stealing user data or executing code.

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-2022-35212?

CVE-2022-35212 is a medium-severity cross-site scripting vulnerability in Oscommerce Oscommerce, published on 18 Aug 2022. 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

osCommerce2 before v2.3.4.1 was discovered to contain a cross-site scripting (XSS) vulnerability via the function tep_db_error().

Weakness: CWE-79

Which versions are affected by CVE-2022-35212?

It affects 1 product.

Products include Oscommerce Oscommerce.

How do I fix CVE-2022-35212?

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

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

All Oscommerce Oscommerce vulnerabilities

Sources

Also known as GHSA-25v4-gjx4-5p9g.

Is CVE-2022-35212 in your software?

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

Check your SBOMs for free