CVE-2008-4696: XSS in Opera History Search (md.dat) via Anchor Fragment
- Vendor
- Opera
A cross-site scripting (XSS) vulnerability exists in Opera.dll in Opera browser versions prior to 9.61. The vulnerability is due to improper escaping of the anchor identifier (fragment) in URLs before storing them in the History Search database (md.dat). This allows an attacker to inject arbitrary web script or HTML that will be executed in the context of the user when the history is searched or displayed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript or HTML in the context of the Opera browser, potentially leading to session hijacking, credential theft, or other attacks leveraging the user's browser session.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, users can avoid visiting untrusted or suspicious URLs and clear their browsing history regularly. Disabling JavaScript may also reduce the impact, but the primary mitigation is to update to a fixed version.
Remediation
Patch, then assume compromise.
Upgrade to Opera version 9.61 or later, where the issue has been addressed by properly escaping the anchor fragment before storage in the History Search database.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2008-4696 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-4696 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-4696?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2008-4696, the earliest disclosed Oct 23, 2008.
- Is there a patch for CVE-2008-4696?
- Upgrade to Opera version 9.61 or later, where the issue has been addressed by properly escaping the anchor fragment before storage in the History Search database.
- What products are affected by CVE-2008-4696?
- Opera.
- How severe is CVE-2008-4696?
- CVE-2008-4696 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 45.7% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.