Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-49AEE |
| Severity | HIGH |
| CWE | CWE-79 |
| Confidence | 80% |
| Category | injection |
| Exploitability | likely |
| Package | bdc029ee-11b0-4210-ac2a-1d5d756195c1@latest (JavaScript) |
| Location | assets/src/ui/history.js:105-115 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The historyTemplate function is vulnerable to DOM-based XSS attacks due to the use of user-input data in the html template.
The vulnerability was identified in the file assets/src/ui/history.js at lines 105-115 within the bdc029ee-11b0-4210-ac2a-1d5d756195c1 package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: assets/src/ui/history.js (lines 105-115)
return html`<button class="hist-card" data-status=${status.key} @click=${() => onJump(ann)}>
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 can inject malicious code by manipulating the ann.comment field.
An attacker can execute arbitrary JavaScript code, potentially leading to sensitive data theft or system compromise.
Use a templating engine that escapes user-input data or use a library like DOMPurify to sanitize the input.
Advisory: SGZ-2026-49AEE | 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-49AEE |
| Severity | HIGH |
| CWE | CWE-79 |
| Confidence | 80% |
| Category | injection |
| Exploitability | likely |
| Package | bdc029ee-11b0-4210-ac2a-1d5d756195c1@latest (JavaScript) |
| Location | assets/src/ui/history.js:105-115 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The historyTemplate function is vulnerable to DOM-based XSS attacks due to the use of user-input data in the html template.
The vulnerability was identified in the file assets/src/ui/history.js at lines 105-115 within the bdc029ee-11b0-4210-ac2a-1d5d756195c1 package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: assets/src/ui/history.js (lines 105-115)
return html`<button class="hist-card" data-status=${status.key} @click=${() => onJump(ann)}>
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 can inject malicious code by manipulating the ann.comment field.
An attacker can execute arbitrary JavaScript code, potentially leading to sensitive data theft or system compromise.
Use a templating engine that escapes user-input data or use a library like DOMPurify to sanitize the input.
Advisory: SGZ-2026-49AEE | 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 high-severity vulnerability could allow attackers to gain unauthorized access, execute arbitrary code, or compromise data integrity. Prompt remediation is strongly recommended.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior