XSS in Opera History Search (md.dat) via Anchor Fragment
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
1 exploit validated by Mallory's analysis. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.