Description
A weakness has been identified in blitz-js blitz up to 3.0.2 on GitHub. This impacts an unknown function of the file packages/generator/templates/app/src/app/auth/components/LoginForm.tsx of the component Sign-in. This manipulation of the argument Next causes cross site scripting. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| blitz-js | blitz | 3.0.0, 3.0.1, 3.0.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | blitz | <= 3.0.2 | — | GHSA-h2p9-cr4h-px24 |
References
- VDB-365540 | blitz-js blitz Sign-in LoginForm.tsx cross site scripting vdb-entry technical-description
- VDB-365540 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #814378 | BlitzJS Blitz 3.0.2 DOM-Based XSS, Open Redirect third-party-advisory
- https://gist.github.com/TrebledJ/164c7ca6c8208b63e6937bc11984720b exploit