CVE-2025-58765

HIGH

wabac.js < 2.23.11 - Reflected Cross-Site Scripting via 404 Error Handler

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0008
EPSS Percentile 22.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (4)
npm/replaywebpage 0 - 2.3.17npm
webrecorder/archivewebpage 0 - 0.15.4npm
webrecorder/wabac 0 - 2.23.11npm
webrecorder/wabac.js < 2.23.11
Published Sep 09, 2025
Tracked Since Feb 18, 2026