Home

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.

PUBLISHED Reserved 2025-09-04 | Published 2025-09-09 | Updated 2025-09-10 | Assigner GitHub_M




HIGH: 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 2.23.11
affected

References

github.com/...bac.js/security/advisories/GHSA-w765-jm6w-4hhj

github.com/...ommit/25feb4a5af69a6b65694426eae67b890be438c4c

github.com/webrecorder/wabac.js/releases/tag/v2.23.11

cve.org (CVE-2025-58765)

nvd.nist.gov (CVE-2025-58765)

Download JSON