Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-F69A1 |
| Severity | MEDIUM |
| CWE | CWE-352 |
| Confidence | 80% |
| Category | injection |
| Exploitability | likely |
| 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 |
The CSRF token is retrieved from a meta tag and used to connect to the LiveSocket. An attacker could potentially exploit this by manipulating the meta tag.
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 could manipulate the meta tag to inject a malicious CSRF token.
An attacker could perform a CSRF attack.
Use a secure method to store and retrieve the CSRF token.
Advisory: SGZ-2026-F69A1 | 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-F69A1 |
| Severity | MEDIUM |
| CWE | CWE-352 |
| Confidence | 80% |
| Category | injection |
| Exploitability | likely |
| 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 |
The CSRF token is retrieved from a meta tag and used to connect to the LiveSocket. An attacker could potentially exploit this by manipulating the meta tag.
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 could manipulate the meta tag to inject a malicious CSRF token.
An attacker could perform a CSRF attack.
Use a secure method to store and retrieve the CSRF token.
Advisory: SGZ-2026-F69A1 | 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