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

Medium 4.3 Published Updated

Authenticated users can upload HTML files to bypass security filters, enabling cross-site scripting attacks against other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-5738?

CVE-2013-5738 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 12 Sep 2013. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The get_allowed_mime_types function in wp-includes/functions.php in WordPress before 3.6.1 does not require the unfiltered_html capability for uploads of .htm and .html files, which might make it easier for remote authenticated users to conduct cross-site scripting (XSS) attacks via a crafted file.

Weakness: CWE-20

Which versions are affected by CVE-2013-5738?

It affects 1 product.

Products include Wordpress Wordpress.

How do I fix CVE-2013-5738?

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-2013-5738 being exploited?

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

All Wordpress Wordpress vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-5738, GHSA-xfxw-2xqv-g5xx.

Is CVE-2013-5738 in your software?

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

Check your SBOMs for free