Webrecorder wabac.js
wabac.js has XSS vulnerability in 404 error handling logic
wabac.js provides a full web archive replay system, or 'wayback machine', using Service Workers. A Reflected Cross-Site Scripting (XSS) vulnerability exists in the 404 error handling logic of wabac.js v2.23.10 and below. The parameter `requestURL` (derived from the original request target) is directly embedded into an inline `<script>` block without sanitization or escaping. This allows an attacker to craft a malicious URL that executes arbitrary JavaScript in the victim’s browser. The scope may be limited by CORS policies, depending on the situation in which wabac.js is used. The vulnerability is fixed in wabac.js v2.23.11.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.23.11
Fixed in 2.23.11
Mitigation
Upgrade wabac.js to 2.23.11 or later.
References
- Vendor advisory github.com/webrecorder/wabac.js/security/advis…
- Patch github.com/webrecorder/wabac.js/commit/25feb4a…
- Release notes github.com/webrecorder/wabac.js/releases/tag/v…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.