Skip to content

CVE-2025-58765 wabac.js has XSS vulnerability in 404 error handling logic

HighCVSS 7.1 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
npm replaywebpage(npm) < 2.3.17 2.3.17 Fixed
webrecorder @webrecorder/archivewebpage(npm) < 0.15.4 0.15.4 Fixed
webrecorder @webrecorder/wabac(npm) < 2.23.11 2.23.11 Fixed
webrecorder wabac.js = < 2.23.11 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
webrecorder @webrecorder/wabac(npm) < 2.23.11 2.23.11
npm replaywebpage(npm) < 2.3.17 2.3.17
webrecorder @webrecorder/archivewebpage(npm) < 0.15.4 0.15.4
webrecorder wabac.js = < 2.23.11 No fix listed

References