Official nomination
A timing attack with CSS selectors and Javascript
A page that passes location.hash to jQuery lets an attacker choose the CSS selector it evaluates. Deliberately expensive pseudo-class chains plus right-to-left short-circuiting make matching slow only when a guessed attribute prefix is correct, and because both pages share one thread the attacker frame times the delay and binary-searches a CSRF token out character by character.
Preserved copies · Sigurd Kolltveit · Original publication ↗
Record
- Researcher
- Sigurd Kolltveit
- Published by
- sheddow's blog
- Date
- Topic
- Server
In the archive
- Nominated for the 2018 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Tags
This page is the archive's own catalogue record. The research is the work of Sigurd Kolltveit, first published at the original source. Preserved copies are kept so the citation survives its host.