CVE-2010-2472 Cross-site scripting in drupal6
An attacker with administer languages permission can inject scripts via unsanitized language names in Drupal, leading to cross-site scripting.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2010-2472?
CVE-2010-2472 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 7 Nov 2019. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Locale module and dependent contributed modules in Drupal 6.x before 6.16 and 5.x before version 5.22 do not sanitize the display of language codes, native and English language names properly which could allow an attacker to perform a cross-site scripting (XSS) attack. This vulnerability is mitigated by the fact that an attacker must have a role with the 'administer languages' permission.
Weakness: CWE-79
Which versions are affected by CVE-2010-2472?
It affects 1 product.
Products include Drupal Drupal.
How do I fix CVE-2010-2472?
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-2010-2472 being exploited?
There is no known exploitation of CVE-2010-2472 in the wild and no public exploit code.
Other vulnerabilities in Drupal Drupal
Sources
Also known as GHSA-3gw2-26w5-pcm6.