CVE-2012-1858
The toStaticHTML API (aka the SafeHTML component) in Microsoft Internet Explorer 8 and 9,...
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."
Exploit likelihood
What each source reports
NVD Score used
4.3
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."
- Record
CVE-2012-1858- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
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."
- Record
CVE-2012-1858- Updated
- 2026-11-02
EUVDEUVD-2012-1868 No score
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."
- Record
EUVD-2012-1868- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w5mr-v466-jmjm No score
The toStaticHTML API (aka the SafeHTML component) in Microsoft Internet Explorer 8 and 9,...
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."
- Record
GHSA-w5mr-v466-jmjm- Weakness
- CWE-200
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Microsoft Internet Explorer 9 / SharePoint / Lync - toStaticHTML HTML Sanitizing Bypass (MS12-037/MS12-039/MS12-050) | 2012-07-12 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-1858 is a medium vulnerability (CVSS 4.3) in Microsoft Internet Explorer, published June 12, 2012. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 22.0%, the 97th percentile. No source names a fixed version.
References
us-cert.gov/cas/techalerts/TA12-192A.html
docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-050
us-cert.gov/cas/techalerts/TA12-164A.html
docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-037
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15530
docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-039
nvd.nist.gov/vuln/detail/CVE-2012-1858
github.com/advisories/GHSA-w5mr-v466-jmjm