Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted content to /templates endpoint
-
DeliveryJavaScript payload persisted to application database
-
ExploitLegitimate user opens affected template in browser
-
ExecutionBrowser executes injected script in application session context
-
ImpactAttacker exfiltrates session token or performs actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to submit content to the /templates endpoint of SendPorttal - the provided CVSS vector specifies PR:N, indicating this endpoint may accept unauthenticated submissions, though this is atypical for template management features and should be independently verified against the application's access control configuration. The critical limiting factor is UI:R: the stored payload does not execute autonomously; a separate authenticated user (or administrator) must load the affected template in their browser, making victim interaction the principal chokepoint. Scope change (S:C) means the injected script runs in the victim's browser security context, not the application server's. No special platform, OS, or non-default configuration is cited as a prerequisite beyond access to the /templates endpoint. Exploitation is constrained to the user population of a given SendPortal installation - it is not a public internet-scale threat unless the application itself is internet-exposed with an open template submission path. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, score 6.1) warrants scrutiny: PR:N implies no authentication is required to submit template content, which would be an unusually permissive configuration for template management functionality - this may reflect an unauthenticated submission path unique to SendPortal's architecture, or it may be an overly optimistic assessment. If PR:N is accurate, exploitability increases substantially since no account is needed. If the endpoint actually requires a low-privileged account (more typical for template editors), effective exploitability is modestly reduced. SSVC rates exploitation as none and automatable as no, aligning with the absence of KEV listing and suggesting no observed mass exploitation. The GitHub Gist POC confirms the vulnerability is reproducible, elevating urgency above baseline for unpatched instances. EPSS data was not provided, so probabilistic exploitation rate cannot be stated. Real-world risk is moderate: limited product prevalence constrains total exposure, but the stored nature and scope-change (S:C) make each vulnerable instance capable of broad intra-application impact. |
| Exploit ScenarioDerived | An attacker submits a crafted HTTP POST to the /templates endpoint with a content parameter containing an obfuscated JavaScript payload (e.g., a cookie-stealing script targeting document.cookie). The payload is persisted to the database; no further attacker interaction is required. Every subsequent user - including administrators - whose browser renders the infected template automatically executes the script, potentially exposing session tokens to an attacker-controlled endpoint. A public proof-of-concept on GitHub Gist demonstrates this reproduction path, lowering the skill threshold for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 20, 2026
Stored cross-site scripting in Mettle SendPortal 3.0.1 and earlier enables persistent JavaScript injection through the content parameter of the /templates endpoint, with payloads executing in every browser that subsequently renders the poisoned template. A public proof-of-concept is hosted on GitHub Gist, providing low-effort reproduction for threat actors. Despite CISA SSVC assessing current exploitation as none, the scoped impact (S:C) means a single injected template can cascade across all users who view it, making this a meaningful session-hijacking or credential-harvesting vector for organizations relying on SendPortal for email campaign management.
RemediationAI
No vendor-released patch or fixed version has been identified at time of analysis; the sole product reference points to the source repository at https://github.com/mettle/sendportal without an associated security advisory or tagged release addressing this issue. As a compensating control, restrict write access to the /templates endpoint to the minimum necessary users, ideally through role-based access controls that limit template editing to trusted administrators - this reduces the attacker population even if it does not eliminate the flaw. Implement a Content Security Policy (CSP) response header that restricts script execution to known-safe origins; note that CSP is a depth-in-defense measure and does not fix the underlying injection, and some SendPortal UI features may require nonce-based exceptions. Review existing templates in storage for unexpected script tags or event handlers as an indicator of prior compromise. Monitor the GitHub repository for commits that address input sanitization or output escaping on the templates endpoint, and upgrade immediately upon a patched release.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SendPortal is an open-source, Laravel-based self-hosted email marketing platform available at github.com/mettle/sendportal. The flaw falls under CWE-79 (Improper Neutralization of Input During Web Page Generation), the classic stored XSS root cause: user-supplied data written to persistent storage is later reflected into HTML responses without context-aware output encoding. The vulnerable surface is the content parameter of the POST /templates endpoint in the template management UI. Because templates are a shared resource rendered repeatedly for multiple users, a single injection persists and fires on every subsequent view, unlike reflected XSS which requires per-victim delivery. The CPE data (cpe:2.3:a:n/a:n/a) is non-specific and does not add version granularity beyond what the description provides.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Template management typically requires at minimum a low-privileged account (PR:L); PR:N from the provided vector is unconfirmed and likely overstated for this feature.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Mettle SendPortal 3.0.1 and earlier contains a stored cross-site scripting (XSS) vulnerability in the template management functionality. The application fails to properly sanitize user-supplied input in the content parameter of the /templates endpoint, allowing an attacker to persistently inject malicious JavaScript code that is executed in the browsers of users who access the affected template.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-46050
GHSA-7868-rq46-qvm4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB