Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-96591 |
| Severity | MEDIUM |
| CWE | CWE-617 |
| Confidence | 80% |
| Category | injection |
| Exploitability | likely |
| Package | 2e6ef8a4-a5fc-497d-adfe-5b537ac1466a@latest (github) |
| Location | src/data/html/highlight-hover.js:15-20 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The code uses user-controlled input (href) to create a dictionary and add event handlers, which could lead to DOM-based XSS attacks.
The vulnerability was identified in the file src/data/html/highlight-hover.js at lines 15-20 within the 2e6ef8a4-a5fc-497d-adfe-5b537ac1466a package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: src/data/html/highlight-hover.js (lines 15-20)
const key = obj.href;
The code above demonstrates the vulnerable pattern. This code is executed at runtime and can be directly exploited by an attacker with the appropriate access level.
An attacker could inject malicious code by manipulating the href attribute of an anchor tag.
An attacker could inject malicious code and steal user data or take control of the user's session.
Validate and sanitize user-controlled input before using it to create the dictionary and add event handlers.
Advisory: SGZ-2026-96591 | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer.
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-96591 |
| Severity | MEDIUM |
| CWE | CWE-617 |
| Confidence | 80% |
| Category | injection |
| Exploitability | likely |
| Package | 2e6ef8a4-a5fc-497d-adfe-5b537ac1466a@latest (github) |
| Location | src/data/html/highlight-hover.js:15-20 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The code uses user-controlled input (href) to create a dictionary and add event handlers, which could lead to DOM-based XSS attacks.
The vulnerability was identified in the file src/data/html/highlight-hover.js at lines 15-20 within the 2e6ef8a4-a5fc-497d-adfe-5b537ac1466a package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: src/data/html/highlight-hover.js (lines 15-20)
const key = obj.href;
The code above demonstrates the vulnerable pattern. This code is executed at runtime and can be directly exploited by an attacker with the appropriate access level.
An attacker could inject malicious code by manipulating the href attribute of an anchor tag.
An attacker could inject malicious code and steal user data or take control of the user's session.
Validate and sanitize user-controlled input before using it to create the dictionary and add event handlers.
Advisory: SGZ-2026-96591 | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer. This vulnerability involves weaknesses in
This medium-severity vulnerability could be exploited under certain conditions to compromise security controls or access sensitive information. Should be addressed in a timely manner.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior