Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm

GHSA-w765-jm6w-4hhj

HIGHFix: webrecorder/archiveweb.page#315

GHSA-w765-jm6w-4hhj is a high-severity (CVSS 7.1) Cross-site Scripting (XSS) vulnerability in @webrecorder/wabac. O3 Security confirms whether GHSA-w765-jm6w-4hhj is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Webrecorder packages are vulnerable to XSS through 404 error handling logic

Also known asCVE-2025-58765
Published
Sep 10, 2025
Updated
Sep 10, 2025
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed

Real-World Exposure

3 pkgs affected
📦@webrecorder/wabac📦replaywebpage📦@webrecorder/archivewebpage

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npm@webrecorder/wabacall versions2.23.11
📦npmreplaywebpageall versions2.3.17
📦npm@webrecorder/archivewebpageall versions0.15.4

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @webrecorder/wabac. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update @webrecorder/wabac to 2.23.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-w765-jm6w-4hhj is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-w765-jm6w-4hhj is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-w765-jm6w-4hhj. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-w765-jm6w-4hhj in your dependencies?

O3 detects GHSA-w765-jm6w-4hhj across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.