CVE-2008-0416: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-2h42-qmq7-j2qx
CWE-79
Published
Advisory Summary

CVE-2008-0416 is a MODERATE security vulnerability vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Software libraries in the Maven ecosystem. The weakness occurs when 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.. Remediation is available in the latest vendor maintenance releases.

CVE-2008-0416 at a Glance

CVE Identifier CVE-2008-0416
GHSA Identifier GHSA-2h42-qmq7-j2qx
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2008-0416

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2008-0416, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

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 Software, 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

Multiple cross-site scripting (XSS) vulnerabilities in Mozilla Firefox before 2.0.0.12, Thunderbird before 2.0.0.12, and SeaMonkey before 1.1.8 allow remote attackers to inject arbitrary web script or HTML via certain character encodings, including (1) a backspace character that is treated as whitespace, (2) 0x80 with Shift_JIS encoding, and (3) "zero-length non-ASCII sequences" in certain Asian character sets.

References

NVD — CVE-2008-0416 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-0416
bugzilla.mozilla.org/buglist.cgi WEB
https://bugzilla.mozilla.org/buglist.cgi?bug_id=404252%2C381412%2C407161
bugzilla.mozilla.org/buglist.cgi WEB
https://bugzilla.mozilla.org/buglist.cgi?bug_id=404252,381412,407161
exchange.xforce.ibmcloud.com/vulnerabilities/404... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/40488
usn.ubuntu.com/576-1 WEB
https://usn.ubuntu.com/576-1
jvn.jp/en/jp/jvn21563357/i... WEB
http://jvn.jp/en/jp/JVN21563357/index.html
jvndb.jvn.jp/ja/contents/2008/jv... WEB
http://jvndb.jvn.jp/ja/contents/2008/JVNDB-2008-000021.html
secunia.com/advisories/28839 WEB
http://secunia.com/advisories/28839
secunia.com/advisories/28864 WEB
http://secunia.com/advisories/28864
secunia.com/advisories/28865 WEB
http://secunia.com/advisories/28865
secunia.com/advisories/28879 WEB
http://secunia.com/advisories/28879
secunia.com/advisories/29541 WEB
http://secunia.com/advisories/29541
secunia.com/advisories/30327 WEB
http://secunia.com/advisories/30327
secunia.com/advisories/30620 WEB
http://secunia.com/advisories/30620
secunia.com/advisories/31043 WEB
http://secunia.com/advisories/31043
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-238492-1
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-239546-1
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1484
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1485
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1489
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200805-18.xml
Software Security Information SECURITY
http://www.mozilla.org/security/announce/2008/mfsa2008-13.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/29303
Software Security Information SECURITY
http://www.turbolinux.com/security/2008/TLSA-2008-9.txt
www.ubuntu.com/usn/usn-592-1 WEB
http://www.ubuntu.com/usn/usn-592-1
www.us-cert.gov/cas/techalerts/ta08... WEB
http://www.us-cert.gov/cas/techalerts/TA08-087A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/1793/references
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/2091/references

Frequently Asked Questions

What is CVE-2008-0416?
CVE-2008-0416 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2008-0416?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-0416?
CVE-2008-0416 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Maven dependencies for CVE-2008-0416?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2h42-qmq7-j2qx",
  "modified" : "2025-04-09T03:51:21Z",
  "published" : "2022-05-01T23:30:07Z",
  "aliases" : [ "CVE-2008-0416" ],
  "details" : "Multiple cross-site scripting (XSS) vulnerabilities in Mozilla Firefox  before 2.0.0.12, Thunderbird before 2.0.0.12, and SeaMonkey before 1.1.8 allow remote attackers to inject arbitrary web script or HTML via certain character encodings, including (1) a backspace character that is treated as whitespace, (2) 0x80 with Shift_JIS encoding, and (3) \"zero-length non-ASCII sequences\" in certain Asian character sets.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-0416"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.mozilla.org/buglist.cgi?bug_id=404252%2C381412%2C407161"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.mozilla.org/buglist.cgi?bug_id=404252,381412,407161"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/40488"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/576-1"
  }, {
    "type" : "WEB",
    "url" : "http://jvn.jp/en/jp/JVN21563357/index.html"
  }, {
    "type" : "WEB",
    "url" : "http://jvndb.jvn.jp/ja/contents/2008/JVNDB-2008-000021.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28839"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28864"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28865"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28879"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29541"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30327"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30620"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31043"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-238492-1"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-239546-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1484"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1485"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1489"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200805-18.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.mozilla.org/security/announce/2008/mfsa2008-13.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/29303"
  }, {
    "type" : "WEB",
    "url" : "http://www.turbolinux.com/security/2008/TLSA-2008-9.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-592-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA08-087A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/1793/references"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/2091/references"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-02-12T03:00:00Z"
  }
}