CVE-2008-4020 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML into Microsoft Office XP via a crafted document accessed through a cdo: URL.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2008-4020?
CVE-2008-4020 is a medium-severity cross-site scripting vulnerability in Microsoft Office, published on 15 Oct 2008. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in Microsoft Office XP SP3 allows remote attackers to inject arbitrary web script or HTML via a document that contains a "Content-Disposition: attachment" header and is accessed through a cdo: URL, which renders the content instead of raising a File Download dialog box, aka "Vulnerability in Content-Disposition Header Vulnerability."
Weakness: CWE-79
Which versions are affected by CVE-2008-4020?
It affects 1 product.
Products include Microsoft Office.
How do I fix CVE-2008-4020?
No fix has been published for CVE-2008-4020 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2008-4020 being exploited?
There is no known exploitation of CVE-2008-4020 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Office
Sources
Also known as GHSA-hmhj-jwx3-6q6x.