CVE-2025-58765
wabac.js provides a full web archive replay system, or 'wayback …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4c
- github.com/webrecorder/wabac.js/releases/tag/v2.23.11
- github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhj
- nvd.nist.gov/vuln/detail/CVE-2025-58765
- github.com/webrecorder/archiveweb.page/pull/315
- github.com/webrecorder/replayweb.page/pull/448
- github.com/webrecorder/replayweb.page/releases/tag/v2.3.17
- github.com/advisories/GHSA-w765-jm6w-4hhj
- nvd.nist.gov/vuln/detail/CVE-2025-58765
- cve.org/CVERecord?id=CVE-2025-58765
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.