CVE-2025-58765
HIGH 7.1CVSS 3.1Webrecorder packages are vulnerable to XSS through 404 error handling logic
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
- 9 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-w765-jm6w-4hhj
- Sources
- NVDJSONOSV GHSA-w765-jm6w-4hhjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @webrecorder/wabac | < 2.23.11 | 2.23.11 |
| OSV | npm | replaywebpage | < 2.3.17 | 2.3.17 |
| OSV | npm | @webrecorder/archivewebpage | < 0.15.4 | 0.15.4 |
References
- https://github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4c · WEB
- https://github.com/webrecorder/wabac.js/releases/tag/v2.23.11 · WEB
- https://github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhj · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-58765 · ADVISORY
- https://github.com/webrecorder/archiveweb.page/pull/315 · WEB
- https://github.com/webrecorder/replayweb.page/pull/448 · WEB
- https://github.com/webrecorder/replayweb.page/releases/tag/v2.3.17 · WEB
- https://github.com/webrecorder/wabac.js · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2025)