CVE-2013-5151 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute arbitrary scripts in Mobile Safari by uploading files served as text/plain, requiring user interaction to view the malicious content.

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-2013-5151?

CVE-2013-5151 is a medium-severity cross-site scripting vulnerability in Apple Iphone Os, published on 19 Sep 2013. 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

Mobile Safari in Apple iOS before 7 does not prevent HTML interpretation of a document served with a text/plain content type, which allows remote attackers to conduct cross-site scripting (XSS) attacks by uploading a file.

Weakness: CWE-79

Which versions are affected by CVE-2013-5151?

It affects 1 product.

Products include Apple Iphone Os.

How do I fix CVE-2013-5151?

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

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

All Apple Iphone Os vulnerabilities

Sources

Also known as GHSA-9357-fg29-22cv.

Is CVE-2013-5151 in your software?

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

Check your SBOMs for free