CVE-2011-3881 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can bypass Same Origin Policy and execute Universal XSS in WebKit-based browsers, requiring user interaction to trigger the vulnerability.

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-2011-3881?

CVE-2011-3881 is a medium-severity cross-site scripting vulnerability in Apple Iphone Os, published on 25 Oct 2011. 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

WebKit, as used in Google Chrome before 15.0.874.102 and Android before 4.4, allows remote attackers to bypass the Same Origin Policy and conduct Universal XSS (UXSS) attacks via vectors related to (1) the DOMWindow::clear function and use of a selection object, (2) the Object::GetRealNamedPropertyInPrototypeChain function and use of an __proto__ property, (3) the HTMLPlugInImageElement::allowedToLoadFrameURL function and use of a javascript: URL, (4) incorrect origins for XSLT-generated documents in the XSLTProcessor::createDocumentFromSource function, and (5) improper handling of synchronous frame loads in the ScriptController::executeIfJavaScriptURL function.

Weakness: CWE-79

Which versions are affected by CVE-2011-3881?

It affects 4 products.

Products include Apple Iphone Os, Apple Safari, Google Android, Google Chrome.

How do I fix CVE-2011-3881?

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

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

All Apple Iphone Os vulnerabilities

Sources

Also known as GHSA-h3qf-j7vv-gw2w, UBUNTU-CVE-2011-3881.

Is CVE-2011-3881 in your software?

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

Check your SBOMs for free