{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-3906 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2010-3906 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Dec 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2010-3906 and fix it if it is affected.\n\nWhat it is: CVE-2010-3906 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Dec 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-3906 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2010-3906/ (Markdown: https://insights.sbomify.com/CVE-2010-3906/index.md)","id":"CVE-2010-3906","markdown":"https://insights.sbomify.com/CVE-2010-3906/index.md","name":"CVE-2010-3906","record":{"aliases":["DEBIAN-CVE-2010-3906","GHSA-3mrf-mhch-542p","RHSA-2010:1003"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Gitweb","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script or HTML into Gitweb via specific parameters, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"git","vendor":"git-scm"},{"product":"git","vendor":"git"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site scripting (XSS) vulnerability in Gitweb 1.7.3.3 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) f and (2) fp parameters.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation"],"exploits":{"exploitdb":1,"first_seen":"2010-12-15","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2010-12-15","kind":"exploitdb","ref":"15744","stars":null,"title":"gitWeb 1.7.3.3 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2010-3906","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2010"},"n_packages":52,"n_references":15,"next":{"headline":"Integer overflow in n/a","id":"CVE-2010-3907"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git-el","purl":"pkg:rpm/redhat/emacs-git-el","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-cvs","purl":"pkg:rpm/redhat/git-cvs","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git-el","purl":"pkg:rpm/redhat/emacs-git-el","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-cvs","purl":"pkg:rpm/redhat/git-cvs","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git-el","purl":"pkg:rpm/redhat/emacs-git-el","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-cvs","purl":"pkg:rpm/redhat/git-cvs","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2010:1003"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.7.1-2.el6_0.1"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2010:1003"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2010-3905"},"products":["n/a"],"published":"2010-12-17","related":[{"cvss_score":9.8,"headline":"gitattributes parsing integer overflow in git","id":"CVE-2022-23521","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":9.8,"headline":"Integer overflow in `git archive`, `git log --format` leading to RCE in git","id":"CVE-2022-41903","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":9.8,"headline":"Security feature bypass in Git","id":"CVE-2019-1353","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-2315","kev_date_added":null,"published":"2016-04-08"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-2324","kev_date_added":null,"published":"2016-04-08"},{"cvss_score":8.8,"headline":"Command injection in Git","id":"CVE-2019-1387","kev_date_added":null,"published":"2019-12-18"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-1000117","kev_date_added":null,"published":"2017-10-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script or HTML into Gitweb via specific parameters, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2010-3906/"}