CVE-2025-58765 wabac.js has XSS vulnerability in 404 error handling logic
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm replaywebpage(npm) | < 2.3.17 | 2.3.17 | Fixed |
| webrecorder @webrecorder/archivewebpage(npm) | < 0.15.4 | 0.15.4 | Fixed |
| webrecorder @webrecorder/wabac(npm) | < 2.23.11 | 2.23.11 | Fixed |
| webrecorder wabac.js | = < 2.23.11 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| webrecorder @webrecorder/wabac(npm) | < 2.23.11 | 2.23.11 |
| npm replaywebpage(npm) | < 2.3.17 | 2.3.17 |
| webrecorder @webrecorder/archivewebpage(npm) | < 0.15.4 | 0.15.4 |
| webrecorder wabac.js | = < 2.23.11 | No fix listed |
References
- https://github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhj vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- https://github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4c patch
- github.com
- https://github.com/webrecorder/wabac.js/releases/tag/v2.23.11
- github.com
- github.com product