CVE-2016-4585 Cross-site scripting in n/a

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML into Safari via mishandled HTTP redirections, potentially compromising user sessions.

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-2016-4585?

CVE-2016-4585 is a medium-severity cross-site scripting vulnerability in Apple Webkit, published on 22 Jul 2016. 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

Cross-site scripting (XSS) vulnerability in the WebKit Page Loading implementation in Apple iOS before 9.3.3, Safari before 9.1.2, and tvOS before 9.2.2 allows remote attackers to inject arbitrary web script or HTML via an HTTP response specifying redirection that is mishandled by Safari.

Weakness: CWE-79

Which versions are affected by CVE-2016-4585?

It affects 1 product.

Products include Apple Webkit.

How do I fix CVE-2016-4585?

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-2016-4585 being exploited?

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

All Apple Webkit vulnerabilities

Sources

Also known as GHSA-qw3f-692v-r8m2, UBUNTU-CVE-2016-4585.

Is CVE-2016-4585 in your software?

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

Check your SBOMs for free