{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-5051 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2007-5051 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Sep 2007. 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-2007-5051 and fix it if it is affected.\n\nWhat it is: CVE-2007-5051 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Sep 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2007-5051 in the wild and no public exploit code.\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-2007-5051/ (Markdown: https://insights.sbomify.com/CVE-2007-5051/index.md)","id":"CVE-2007-5051","markdown":"https://insights.sbomify.com/CVE-2007-5051/index.md","name":"CVE-2007-5051","record":{"aliases":["DSA-1559-1","GHSA-vgpg-q396-4j8x"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Genealogy web application","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script or HTML via specific parameters in PhpGedView, potentially stealing user data or hijacking sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"phpgedview","vendor":"phpgedview"}],"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":"Multiple cross-site scripting (XSS) vulnerabilities in PhpGedView 4.1.1 allow remote attackers to inject arbitrary web script or HTML via the (1) box_width, (2) PEDIGREE_GENERATIONS, and (3) rootid parameters in ancestry.php, and the (4) newpid parameter in timeline.php.  NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2007-5051","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2007"},"n_packages":0,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2007-5052"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2007-5050"},"products":["n/a"],"published":"2007-09-24","related":[{"cvss_score":10,"headline":"Multiple unspecified vulnerabilities in PhpGedView before 4.1.5 have unknown impact and attack vectors related to \"a fundamental design flaw","id":"CVE-2008-2064","kev_date_added":null,"published":"2008-05-02"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2004-0030","kev_date_added":null,"published":"2004-01-08"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2005-4469","kev_date_added":null,"published":"2005-12-22"},{"cvss_score":7.5,"headline":"Missing authorization in n/a","id":"CVE-2004-0031","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2004-0128","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2004-0127","kev_date_added":null,"published":"2004-02-04"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2004-0065","kev_date_added":null,"published":"2004-01-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"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 via specific parameters in PhpGedView, potentially stealing user data or hijacking sessions.","url":"https://insights.sbomify.com/CVE-2007-5051/"}