{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2002-1157 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2002-1157 is a high-severity cross-site scripting vulnerability in n/a, published on 1 Sep 2004. 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-2002-1157 and fix it if it is affected.\n\nWhat it is: CVE-2002-1157 is a high-severity cross-site scripting vulnerability in n/a, published on 1 Sep 2004. 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-2002-1157 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-2002-1157/ (Markdown: https://insights.sbomify.com/CVE-2002-1157/index.md)","id":"CVE-2002-1157","markdown":"https://insights.sbomify.com/CVE-2002-1157/index.md","name":"CVE-2002-1157","record":{"aliases":["DSA-181","GHSA-42vq-2xjj-6g8w"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache mod_ssl","requires_auth":"none","summary":"Remote attackers can execute arbitrary scripts in victim browsers via XSS in Apache mod_ssl when specific DNS and canonical name settings are enabled.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mod_ssl","vendor":"mod_ssl"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Cross-site scripting vulnerability in the mod_ssl Apache module 2.8.9 and earlier, when UseCanonicalName is off and wildcard DNS is enabled, allows remote attackers to execute script as other web site visitors, via the server name in an HTTPS response on the SSL port, which is used in a self-referencing URL, a different vulnerability than CAN-2002-0840.","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-2002-1157","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2002"},"n_packages":0,"n_references":15,"next":{"headline":"Memory corruption in n/a","id":"CVE-2002-1158"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2002-1156"},"products":["n/a"],"published":"2004-09-01","related":[],"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 execute arbitrary scripts in victim browsers via XSS in Apache mod_ssl when specific DNS and canonical name settings are enabled.","url":"https://insights.sbomify.com/CVE-2002-1157/"}