GitHub Advisory Database
GHSA-vmg4-6gfg-83qx
ApostropheCMS: 2nd-order prototype pollution via PATCH leading to single-request persistent DoS
Details
The vulnerability is a single-request persistent DoS by submitting e.g. "PATCH /api/v1/article/<id>" with a valid editor session and body of {"toString.call":"x"}, overwriting the global toString function with value x.
Fabian
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | apostrophe | All versions before 4.32.1 (fixed in 4.32.1) |