Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-77B1C |
| Severity | CRITICAL |
| CWE | CWE-319 |
| Confidence | 90% |
| Category | injection |
| Exploitability | confirmed |
| Package | squatch_mail@latest (javascript) |
| Location | assets/js/squatch_mail.js:5-6 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
Hardcoded CSRF token in client-side code.
The vulnerability was identified in the file assets/js/squatch_mail.js at lines 5-6 within the squatch_mail package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: assets/js/squatch_mail.js (lines 5-6)
const csrfToken = document.querySelector("meta[name='squatch-mail-csrf-token']").getAttribute("content");
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 CSRF token.
CSRF token can be manipulated by an attacker.
Use a secure method to generate and store CSRF tokens.
Advisory: SGZ-2026-77B1C | 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-77B1C |
| Severity | CRITICAL |
| CWE | CWE-319 |
| Confidence | 90% |
| Category | injection |
| Exploitability | confirmed |
| Package | squatch_mail@latest (javascript) |
| Location | assets/js/squatch_mail.js:5-6 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
Hardcoded CSRF token in client-side code.
The vulnerability was identified in the file assets/js/squatch_mail.js at lines 5-6 within the squatch_mail package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: assets/js/squatch_mail.js (lines 5-6)
const csrfToken = document.querySelector("meta[name='squatch-mail-csrf-token']").getAttribute("content");
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 CSRF token.
CSRF token can be manipulated by an attacker.
Use a secure method to generate and store CSRF tokens.
Advisory: SGZ-2026-77B1C | 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 critical vulnerability poses an immediate and severe threat to system security. Exploitation could lead to complete system compromise, data breach, or denial of service. Immediate action is required.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior