CVE-2025-58765

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
Product@webrecorder/wabac
PublishedSep 9, 2025
First seenSep 9, 2025

How to fix

Update
  • @webrecorder/wabac2.23.11 or later
  • replaywebpage2.3.17 or later
  • @webrecorder/archivewebpage0.15.4 or later

Affected products

ProductAffected versionsFixed in
@webrecorder/wabacnpmv < 2.23.112.23.11
replaywebpagenpmv < 2.3.172.3.17
@webrecorder/archivewebpagenpmv < 0.15.40.15.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.