CVE-2008-3218 Drupal vulnerable to Cross-site Scripting

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via taxonomy terms or OpenID values, 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-2008-3218?

CVE-2008-3218 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 18 Jul 2008. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in Drupal 6.x before 6.3 allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) free tagging taxonomy terms, which are not properly handled on node preview pages, and (2) unspecified OpenID values.

Weakness: CWE-79

Which versions are affected by CVE-2008-3218?

2 open source packages ship an affected version, including drupal/drupal. It affects 2 products.

PackageAffectedFixed in
drupal/drupal PackagistFrom 6.06.3
drupal/drupal PackagistFrom 6.06.3

Products include Drupal Drupal, Fedoraproject Fedora.

How do I fix CVE-2008-3218?

Upgrade drupal/drupal to 6.3 or later.

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-2008-3218 being exploited?

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

All Drupal Drupal vulnerabilities

Sources

Also known as GHSA-6cj8-c359-p7q9.

Is CVE-2008-3218 in your software?

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

Check your SBOMs for free