Skip to content

Write-ups

math.js

Every publicly disclosed report for math.js and what kind of bugs they were.

disclosed reports
1
most reported class
RCE
bug classes found
1

Disclosed reports

Newest first. Only what math.js chose to make public.

RCE

How we exploited a remote code execution vulnerability in math.js

The math.js API allowed evaluation of JavaScript expressions, and the sandbox could be escaped by accessing the Function constructor indirectly through an existing function's constructor property. An attacker could then access the Node.js process object, read files, and spawn arbitrary processes, achieving remote code execution.

math.js