Lettermint Node.js SDK leaks email properties to unintended recipients when client instance is reusedGHSA-49pc-8936-wvfp
MEDIUMFix: lettermint/lettermint-node@24a17acGHSA-49pc-8936-wvfp is a medium-severity (CVSS 4.7) CWE-488 vulnerability in lettermint. A fix is available for lettermint — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-49pc-8936-wvfp.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
lettermintnpmDescription
Impact
Email properties (such as to, subject, html, text, and attachments) are not reset between sends when a single client instance is reused across multiple .send() calls. This can cause properties from a previous send to leak into a subsequent one, potentially delivering content or recipient addresses to unintended parties. Applications sending emails to different recipients in sequence — such as transactional flows like password resets or notifications — are affected.
Patches
Yes, the issue has been patched. Users should upgrade to v1.5.1 or later.
Workarounds
If upgrading immediately is not possible, instantiate a new client for each send:
const client = new Lettermint({ apiKey: process.env.LETTERMINT_API_KEY });
await client.email.to('...').subject('...').html('...').send();
This ensures no state is carried over between sends.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | lettermint | all versions | 1.5.1npm install lettermint@1.5.1 |
Affected Products
lettermintlettermintDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for lettermint, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update lettermint to 1.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-49pc-8936-wvfp is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-49pc-8936-wvfp in your dependencies?
Find it across npm, including transitive dependencies.