GHSA-W765-JM6W-4HHJ
Vulnerability from github – Published: 2025-09-10 17:13 – Updated: 2025-09-10 17:13
VLAI?
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 ?
7.1 (High)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@webrecorder/wabac"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.23.11"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "replaywebpage"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.17"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@webrecorder/archivewebpage"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.15.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-58765"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2025-09-10T17:13:45Z",
"nvd_published_at": "2025-09-09T21:15:38Z",
"severity": "HIGH"
},
"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 `\u003cscript\u003e` block without sanitization or escaping.\n\nThis allows an attacker to craft a malicious URL that executes arbitrary JavaScript in the victim\u2019s browser.\n\nThe scope may be limited by CORS policies, depending on the situation in which wabac.js is used.\n\n### Patches\n\nThe vulnerability is fixed in wabac.js v2.23.11.",
"id": "GHSA-w765-jm6w-4hhj",
"modified": "2025-09-10T17:13:45Z",
"published": "2025-09-10T17:13:45Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/webrecorder/wabac.js/security/advisories/GHSA-w765-jm6w-4hhj"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-58765"
},
{
"type": "WEB",
"url": "https://github.com/webrecorder/archiveweb.page/pull/315"
},
{
"type": "WEB",
"url": "https://github.com/webrecorder/replayweb.page/pull/448"
},
{
"type": "WEB",
"url": "https://github.com/webrecorder/wabac.js/commit/25feb4a5af69a6b65694426eae67b890be438c4c"
},
{
"type": "WEB",
"url": "https://github.com/webrecorder/replayweb.page/releases/tag/v2.3.17"
},
{
"type": "PACKAGE",
"url": "https://github.com/webrecorder/wabac.js"
},
{
"type": "WEB",
"url": "https://github.com/webrecorder/wabac.js/releases/tag/v2.23.11"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
}
],
"summary": "Webrecorder packages are vulnerable to XSS through 404 error handling logic"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…