CVE-2007-5338: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-5q38-h7gf-fmjx
Published
Advisory Summary

CVE-2007-5338 is a HIGH security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2007-5338 at a Glance

CVE Identifier CVE-2007-5338
GHSA Identifier GHSA-5q38-h7gf-fmjx
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2007-5338

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-2007-5338, 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 General Security Weakness. 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

Mozilla Firefox before 2.0.0.8 and SeaMonkey before 1.1.5 allow remote attackers to execute arbitrary Javascript with user privileges by using the Script object to modify XPCNativeWrappers in a way that causes the script to be executed when a chrome action is performed.

References

NVD — CVE-2007-5338 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-5338
exchange.xforce.ibmcloud.com/vulnerabilities/372... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/37288
issues.rpath.com/browse/rpl-1858 WEB
https://issues.rpath.com/browse/RPL-1858
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10965
usn.ubuntu.com/535-1 WEB
https://usn.ubuntu.com/535-1
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00498.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00285.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00355.html
h20000.www2.hp.com/bizsupport/techsupp... WEB
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00771742
secunia.com/advisories/27276 WEB
http://secunia.com/advisories/27276
secunia.com/advisories/27298 WEB
http://secunia.com/advisories/27298
secunia.com/advisories/27311 WEB
http://secunia.com/advisories/27311
secunia.com/advisories/27315 WEB
http://secunia.com/advisories/27315
secunia.com/advisories/27325 WEB
http://secunia.com/advisories/27325
secunia.com/advisories/27327 WEB
http://secunia.com/advisories/27327
secunia.com/advisories/27335 WEB
http://secunia.com/advisories/27335
secunia.com/advisories/27336 WEB
http://secunia.com/advisories/27336
secunia.com/advisories/27356 WEB
http://secunia.com/advisories/27356
secunia.com/advisories/27360 WEB
http://secunia.com/advisories/27360
secunia.com/advisories/27383 WEB
http://secunia.com/advisories/27383
secunia.com/advisories/27387 WEB
http://secunia.com/advisories/27387
secunia.com/advisories/27403 WEB
http://secunia.com/advisories/27403
secunia.com/advisories/27414 WEB
http://secunia.com/advisories/27414
secunia.com/advisories/27425 WEB
http://secunia.com/advisories/27425
secunia.com/advisories/27480 WEB
http://secunia.com/advisories/27480
secunia.com/advisories/27665 WEB
http://secunia.com/advisories/27665
secunia.com/advisories/27680 WEB
http://secunia.com/advisories/27680
secunia.com/advisories/28398 WEB
http://secunia.com/advisories/28398
Software Security Information SECURITY
http://securitytracker.com/id?1018836
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-66-201516-1
support.novell.com/techcenter/psdb/60e... WEB
http://support.novell.com/techcenter/psdb/60eb95b75c76f9fbfcc9a89f99cd8f79.html
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1392
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1396
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1401
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200711-14.xml
Software Security Information SECURITY
http://www.mandriva.com/en/security/advisories?name=MDKSA-2007:202
Software Security Information SECURITY
http://www.mozilla.org/security/announce/2007/mfsa2007-35.html
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2007_57_mozilla.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0979.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0980.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0981.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482876/100/200/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482925/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482932/100/200/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/26132
www.ubuntu.com/usn/usn-536-1 WEB
http://www.ubuntu.com/usn/usn-536-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/3544
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/3587
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/0083

Frequently Asked Questions

What is CVE-2007-5338?
CVE-2007-5338 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2007-5338?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-5338?
CVE-2007-5338 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2007-5338?
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-5q38-h7gf-fmjx",
  "modified" : "2025-04-09T03:47:43Z",
  "published" : "2022-05-01T18:32:21Z",
  "aliases" : [ "CVE-2007-5338" ],
  "details" : "Mozilla Firefox before 2.0.0.8 and SeaMonkey before 1.1.5 allow remote attackers to execute arbitrary Javascript with user privileges by using the Script object to modify XPCNativeWrappers in a way that causes the script to be executed when a chrome action is performed.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-5338"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/37288"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-1858"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10965"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/535-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00498.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00285.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00355.html"
  }, {
    "type" : "WEB",
    "url" : "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00771742"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27276"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27298"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27311"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27315"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27325"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27327"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27335"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27336"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27356"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27360"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27383"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27387"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27403"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27414"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27425"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27480"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27665"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27680"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28398"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1018836"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-66-201516-1"
  }, {
    "type" : "WEB",
    "url" : "http://support.novell.com/techcenter/psdb/60eb95b75c76f9fbfcc9a89f99cd8f79.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1392"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1396"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1401"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200711-14.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/en/security/advisories?name=MDKSA-2007:202"
  }, {
    "type" : "WEB",
    "url" : "http://www.mozilla.org/security/announce/2007/mfsa2007-35.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2007_57_mozilla.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0979.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0980.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0981.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482876/100/200/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482925/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482932/100/200/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/26132"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-536-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/3544"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/3587"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/0083"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-10-21T20:17:00Z"
  }
}