{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-1858 exists.","fix":"No fix has been published for CVE-2012-1858 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-1858 is a medium-severity cross-site scripting vulnerability in Microsoft Internet Explorer, published on 12 Jun 2012. 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-2012-1858 and fix it if it is affected.\n\nWhat it is: CVE-2012-1858 is a medium-severity cross-site scripting vulnerability in Microsoft Internet Explorer, published on 12 Jun 2012. 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-2012-1858 exists.\n\nAffected product: Microsoft Internet Explorer. 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-2012-1858/ (Markdown: https://insights.sbomify.com/CVE-2012-1858/index.md)","id":"CVE-2012-1858","markdown":"https://insights.sbomify.com/CVE-2012-1858/index.md","name":"CVE-2012-1858","record":{"aliases":["GHSA-w5mr-v466-jmjm"],"analysis":{"component_type":"browser","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Internet Explorer","requires_auth":"none","summary":"Remote attackers can bypass HTML sanitization in Internet Explorer to execute cross-site scripting attacks via crafted documents.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"internet_explorer","vendor":"microsoft"},{"product":"lync","vendor":"microsoft"},{"product":"office_communicator","vendor":"microsoft"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The toStaticHTML API (aka the SafeHTML component) in Microsoft Internet Explorer 8 and 9, Communicator 2007 R2, and Lync 2010 and 2010 Attendee does not properly handle event attributes and script, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted HTML document, aka \"HTML Sanitization Vulnerability.\"","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2012-07-12","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-07-12","kind":"exploitdb","ref":"19777","stars":null,"title":"Microsoft Internet Explorer 9 / SharePoint / Lync - toStaticHTML HTML Sanitizing Bypass (MS12-037/MS12-039/MS12-050)"}],"tier":"weaponised"},"has_fix":null,"headline":"Cross-site scripting in n/a","id":"CVE-2012-1858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:internet_explorer","products":["microsoft:internet_explorer"],"type":"xss","year":"2012"},"n_packages":0,"n_references":6,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-1859"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-1857"},"products":["n/a"],"published":"2012-06-12","related":[{"cvss_score":9.8,"headline":"Microsoft Internet Explorer Memory Corruption","id":"CVE-2014-1776","kev_date_added":"2022-01-28","published":"2014-04-27"},{"cvss_score":8.8,"headline":"Microsoft Internet Explorer Remote Code Execution","id":"CVE-2021-27085","kev_date_added":"2021-11-03","published":"2021-03-11"},{"cvss_score":8.8,"headline":"Microsoft Internet Explorer Remote Code Execution","id":"CVE-2017-0222","kev_date_added":"2022-02-25","published":"2017-05-12"},{"cvss_score":8.8,"headline":"Microsoft Internet Explorer Privilege Escalation","id":"CVE-2017-0210","kev_date_added":"2022-05-24","published":"2017-04-12"},{"cvss_score":8.8,"headline":"Microsoft Internet Explorer Memory Corruption","id":"CVE-2017-0149","kev_date_added":"2022-05-24","published":"2017-03-17"},{"cvss_score":8.8,"headline":"Microsoft Internet Explorer Memory Corruption","id":"CVE-2015-2502","kev_date_added":"2022-04-13","published":"2015-08-19"},{"cvss_score":8.8,"headline":"Microsoft Internet Explorer Memory Corruption","id":"CVE-2015-2419","kev_date_added":"2022-03-28","published":"2015-07-14"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can bypass HTML sanitization in Internet Explorer to execute cross-site scripting attacks via crafted documents.","url":"https://insights.sbomify.com/CVE-2012-1858/"}