Skip to main content
← All vulnerabilities
CVE-2025-58765GHSA-W765-JM6W-4HHJ

wabac.js has XSS vulnerability in 404 error handling logic

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.23.11, 2.3.17, 0.15.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • webrecorder wabac.js

    fixed in 2.23.11

  • @webrecorder/wabacnpm

    fixed in 2.23.11

  • replaywebpagenpm

    fixed in 2.3.17

  • @webrecorder/archivewebpagenpm

    fixed in 0.15.4

References 3

GitHub · webrecorder/wabac.js