Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. replaywebpage
  4. ›
  5. CVE-2025-58765

CVE-2025-58765: Webrecorder packages are vulnerable to XSS through 404 error handling logic

September 10, 2025

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.

References

  • github.com/advisories/GHSA-w765-jm6w-4hhj
  • github.com/webrecorder/archiveweb.page/pull/315
  • github.com/webrecorder/replayweb.page/pull/448
  • github.com/webrecorder/replayweb.page/releases/tag/v2.3.17
  • github.com/webrecorder/wabac.js
  • github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4c
  • github.com/webrecorder/wabac.js/releases/tag/v2.23.11
  • github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhj
  • nvd.nist.gov/vuln/detail/CVE-2025-58765

Code Behaviors & Features

Detect and mitigate CVE-2025-58765 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.17

Fixed versions

  • 2.3.17

Solution

Upgrade to version 2.3.17 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/replaywebpage/CVE-2025-58765.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Oct 2025 12:19:08 +0000.