CVE-2012-5538 Cross-site scripting in n/a

Low 2.1 Published Updated

Authenticated users can inject scripts via uploaded filenames in Drupal FileField Sources when Reference existing is enabled.

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
None listed

What is CVE-2012-5538?

CVE-2012-5538 is a low-severity cross-site scripting vulnerability in n/a, published on 3 Dec 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the FileField Sources module 6.x-1.x before 6.x-1.6 and 7.x-1.x before 7.x-1.6 for Drupal, when the field has "Reference existing" source enabled, allows remote authenticated users to inject arbitrary web script or HTML via the filename of an uploaded file.

Weakness: CWE-79

Which versions are affected by CVE-2012-5538?

It affects 1 product.

Products include Nathan Haug Filefield Sources.

How do I fix CVE-2012-5538?

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

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

Sources

Also known as GHSA-r22m-pfh4-7q39.

Is CVE-2012-5538 in your software?

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

Check your SBOMs for free