Vulnerability · Published Sep 9, 2025 · Assigned by GitHub_M

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

High 7.1

In plain English

A high-severity cross-site scripting in wabac.js from webrecorder. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.3%top 83.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@webrecorder/archivewebpage0.15.4GHSA-w765-jm6w-4hhj
npm@webrecorder/wabac2.23.11GHSA-w765-jm6w-4hhj
npmreplaywebpage2.3.17GHSA-w765-jm6w-4hhj

Affected products (as reported)

VendorProductVersions
webrecorder wabac.js < 2.23.11

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

References