Advisory

GHSA-w765-jm6w-4hhj

Also known as: CVE-2025-58765

Summary

Webrecorder packages are vulnerable to XSS through 404 error handling logic

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-09-10 17:13 UTC
Modified
2025-09-10 17:13 UTC

Affected packages and fixes

@webrecorder/wabac

npm · All systems

Affected

  • introduced 0, fixed 2.23.11 (semver)

Fixed versions

2.23.11

Fix

replaywebpage

npm · All systems

Affected

  • introduced 0, fixed 2.3.17 (semver)

Fixed versions

2.3.17

Fix

@webrecorder/archivewebpage

npm · All systems

Affected

  • introduced 0, fixed 0.15.4 (semver)

Fixed versions

0.15.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences