CVE-2025-58765
Webrecorder packages are vulnerable to XSS through 404 error handling logic
Description
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. ### Patches The vulnerability is fixed in wabac.js v2.23.11.
How to fix CVE-2025-58765
To remediate CVE-2025-58765, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.17 or later
- —upgrade to 0.15.4 or later
- —upgrade to 2.23.11 or later
Is CVE-2025-58765 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.3.17
- from 0, < 0.15.4
- from 0, < 2.23.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |