CVE-2025-58765
September 09, 2025
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
https://github.com/webrecorder/wabac.js.git (GITHUB):
Affected version(s) >=v2.14.1 <v2.23.11Fix Suggestion:
Update to version v2.23.11@webrecorder/wabac (NPM):
Affected version(s) >=2.0.0 <2.23.11Fix Suggestion:
Update to version 2.23.11@webrecorder/wabac (NPM):
Affected version(s) >=2.0.0 <2.23.11Fix Suggestion:
Update to version 2.23.11@webrecorder/archivewebpage (NPM):
Affected version(s) >=0.8.0 <0.15.4Fix Suggestion:
Update to version 0.15.4replaywebpage (NPM):
Affected version(s) >=1.0.0 <2.3.17Fix Suggestion:
Update to version 2.3.17Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.05