CVE-2014-5022 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via Ajax-enabled forms in Drupal, potentially leading to session hijacking or malicious actions.

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-2014-5022?

CVE-2014-5022 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 22 Jul 2014. 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 Ajax system in Drupal 7.x before 7.29 allows remote attackers to inject arbitrary web script or HTML via vectors involving forms with an Ajax-enabled textfield and a file field.

Weakness: CWE-79

Which versions are affected by CVE-2014-5022?

It affects 1 product.

Products include Drupal Drupal.

How do I fix CVE-2014-5022?

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-2014-5022 being exploited?

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

All Drupal Drupal vulnerabilities

Sources

Also known as GHSA-j47j-5wh7-4gmm, UBUNTU-CVE-2014-5022.

Is CVE-2014-5022 in your software?

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

Check your SBOMs for free