CVE-2010-1236 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute arbitrary JavaScript via crafted URLs due to improper whitespace handling in WebKit, affecting Chrome and Flock 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-2010-1236?

CVE-2010-1236 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 1 Apr 2010. 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

The protocolIs function in platform/KURLGoogle.cpp in WebCore in WebKit before r55822, as used in Google Chrome before 4.1.249.1036 and Flock Browser 3.x before 3.0.0.4112, does not properly handle whitespace at the beginning of a URL, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted javascript: URL, as demonstrated by a \x00javascript:alert sequence.

Weakness: CWE-79

Which versions are affected by CVE-2010-1236?

It affects 2 products.

Products include Flock Flock, Google Chrome.

How do I fix CVE-2010-1236?

Upgrade to a fixed version.

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-2010-1236 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-qp79-v7x7-fmwp, MINI-3p8h-7xf5-vvjq.

Is CVE-2010-1236 in your software?

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

Check your SBOMs for free