{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2004-1318 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-1318 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Jan 2005. 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-2004-1318 and fix it if it is affected.\n\nWhat it is: CVE-2004-1318 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Jan 2005. 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-2004-1318 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-2004-1318/ (Markdown: https://insights.sbomify.com/CVE-2004-1318/index.md)","id":"CVE-2004-1318","markdown":"https://insights.sbomify.com/CVE-2004-1318/index.md","name":"CVE-2004-1318","record":{"aliases":["DEBIAN-CVE-2004-1318","DSA-627-1","GHSA-4vp2-cmfq-525r"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Namazu search engine","requires_auth":"none","summary":"Remote attackers can inject arbitrary HTML and scripts into Namazu search results via crafted queries, requiring user interaction to execute.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"namazu","vendor":"namazu"}],"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":[],"description":"Cross-site scripting (XSS) vulnerability in namazu.cgi for Namazu 2.0.13 and earlier allows remote attackers to inject arbitrary HTML and web script via a query that starts with a tab (\"%09\") character, which prevents the rest of the query from being properly sanitized.","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-2004-1318","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2004"},"n_packages":0,"n_references":12,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2004-1319"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-1317"},"products":["n/a"],"published":"2005-01-06","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2009-5028","kev_date_added":null,"published":"2011-11-30"},{"cvss_score":7.5,"headline":"Cross-site scripting in n/a","id":"CVE-2001-1350","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Cross-site scripting in n/a","id":"CVE-2001-1351","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Cross-site scripting in n/a","id":"CVE-2001-1352","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2011-4711","kev_date_added":null,"published":"2011-12-08"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2008-1468","kev_date_added":null,"published":"2008-03-24"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary HTML and scripts into Namazu search results via crafted queries, requiring user interaction to execute.","url":"https://insights.sbomify.com/CVE-2004-1318/"}