CVE-2025-58765: webrecorder wabac.js · Cross-site Scripting
Affects webrecorder wabac.jsSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 2.23.11 soon.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.23.11
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 9 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade webrecorder wabac.js to 2.23.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| webrecorder wabac.js | Affected
| Fixed in
|
AI-suggested
- Immediate upgrade to wabac.js version 2.23.11 or later, where the vulnerability is fixed.
- If upgrading is not immediately possible, implement input validation and output encoding on the `requestURL` parameter to ensure it is properly sanitized before embedding in any inline scripts.
- Employ Content Security Policy (CSP) headers that restrict inline script execution and limit the sources from which scripts can be loaded, mitigating the impact of XSS.
- Review and tighten CORS policies to restrict cross-origin requests and reduce the attack surface.
- Conduct security testing and code review of any customizations or integrations involving wabac.js to detect similar injection points.
- Educate users about the risks of clicking on suspicious URLs, especially those related to web archive services.
- Monitor logs and web traffic for unusual requests or error patterns that might indicate attempted exploitation.
- Consider implementing web application firewalls (WAF) with rules to detect and block reflected XSS payloads targeting the affected parameter. These steps go beyond generic advice by focusing on specific controls related to wabac.js usage and the nature of the vulnerability.
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.