CVE-2025-58765wabac.js has XSS vulnerability in 404 error handling logic
- 7.1HighCVSS base score
- 0.26%Exploitation in 30 daysEPSS · top 82% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 5 days later
· 5 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| NVDNVD · Deferred | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.26% · top 82% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected < 2.23.11
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@webrecorder/archivewebpageGHSA-w765-jm6w-4hhj (opens in a new tab)
- npm@webrecorder/wabacGHSA-w765-jm6w-4hhj (opens in a new tab)
- npmreplaywebpageGHSA-w765-jm6w-4hhj (opens in a new tab)
References
References3
- https://github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhj (opens in a new tab)x_refsource_CONFIRM
- https://github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4c (opens in a new tab)x_refsource_MISC
- https://github.com/webrecorder/wabac.js/releases/tag/v2.23.11 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-33982 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w765-jm6w-4hhj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-58765)Record last updated .