Official nomination
Finding an unseen SQL Injection by bypassing escape functions in mysqljs/mysql
The mysqljs/mysql escape function encodes values differently per JavaScript type, and an Object becomes backtick-quoted identifiers rather than a quoted string. Passing a parameter as an object through Express turns a comparison into an always-true column-to-column test, giving SQL injection and login bypass in code that correctly used placeholders or escape().
Preserved copies · stypr · Original publication ↗
Record
- Researcher
- stypr
- Published by
- Medium
- Date
- Topic
- Injection
In the archive
- Nominated for the 2025 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
Related sources
- Vulnerable demonstration application
Author not stated
External source · no preserved copy
- Author-hosted demonstration
Author not stated
External source · no preserved copy
Tags
This page is the archive's own catalogue record. The research is the work of stypr, first published at the original source. Preserved copies are kept so the citation survives its host.