CVE-2025-58765
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 `` 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@webrecorder/wabacnpm | < 2.23.11 | 2.23.11 |
replaywebpagenpm | < 2.3.17 | 2.3.17 |
@webrecorder/archivewebpagenpm | < 0.15.4 | 0.15.4 |
Affected products
4- Range: 2.12.0, 2.13.15, 2.14.0, …
- ghsa-coords3 versions
< 0.15.4+ 2 more
- (no CPE)range: < 0.15.4
- (no CPE)range: < 2.23.11
- (no CPE)range: < 2.3.17
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-w765-jm6w-4hhjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-58765ghsaADVISORY
- github.com/webrecorder/archiveweb.page/pull/315ghsaWEB
- github.com/webrecorder/replayweb.page/pull/448ghsaWEB
- github.com/webrecorder/replayweb.page/releases/tag/v2.3.17ghsaWEB
- github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4cnvdWEB
- github.com/webrecorder/wabac.js/releases/tag/v2.23.11nvdWEB
- github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhjnvdWEB
News mentions
0No linked articles in our index yet.