CVE-2008-3218: Drupal/drupal Cross-Site Scripting Vulnerability
MODERATECVE-2008-3218 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Drupal/drupal libraries in the Packagist ecosystem. The issue involves drupal vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 6.3.
CVE-2008-3218 at a Glance
How to Fix CVE-2008-3218
To remediate this vulnerability, upgrade all affected Drupal/drupal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade drupal/drupal to 6.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/drupal
How to Check if You Are Affected
To determine whether your application is affected by CVE-2008-3218, inspect your project dependencies for Drupal/drupal:
inspect dependencies for drupal/drupal
Analyze the terminal output to locate any version of Drupal/drupal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Drupal/drupal, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2008-3218 Affected Drupal/drupal Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/drupal
|
Packagist |
≥ 6.0
< 6.3
|
6.3
|
References
Frequently Asked Questions
What is CVE-2008-3218?
Which Drupal/drupal versions are affected?
What version fixes CVE-2008-3218?
Is drupal/drupal affected?
What CWE is associated with CVE-2008-3218?
How can I check Packagist dependencies for CVE-2008-3218?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6cj8-c359-p7q9",
"modified" : "2024-02-09T16:36:06Z",
"published" : "2022-05-01T23:57:56Z",
"aliases" : [ "CVE-2008-3218" ],
"summary" : "Drupal vulnerable to Cross-site Scripting",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0"
}, {
"fixed" : "6.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-3218"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=454849"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/43704"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/drupal"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20080804010537/http://secunia.com/advisories/31079"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20081007110725/http://www.securityfocus.com/bid/30168"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-August/msg00016.html"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00527.html"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00551.html"
}, {
"type" : "WEB",
"url" : "http://drupal.org/node/280571"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2008/07/10/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T16:36:05Z",
"nvd_published_at" : "2008-07-18T16:41:00Z"
}
}