CVE-2025-0918: SMTP for SendGrid – YaySMTP <= 1.4 - Unauthenticated Stored Cross-Site Scripting via Email Logs
The SMTP for SendGrid – YaySMTP plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVE-2025-0918 affects the WordPress SMTP for SendGrid - YaySMTP plugin through version 1.4. An unauthenticated attacker could place malicious script content into email logs, which may run when a site user views the affected log page. This creates administrative risk because the vulnerable area is likely viewed by trusted WordPress users.
Executive priority
Treat this as a high-priority WordPress plugin issue for sites using YaySMTP. The main business risk is script execution in trusted admin workflows, which can support account compromise or unauthorized site changes if an administrator views poisoned content.
Technical view
The issue is stored cross-site scripting, CWE-79, caused by insufficient input sanitization and output escaping in email log handling. The CVSS 3.1 score is 7.2 with network attack vector, low complexity, no privileges, and changed scope. The provided record cites affected versions up to and including 1.4.
Likely exposure
Exposure is limited to WordPress sites using SMTP for SendGrid - YaySMTP version 1.4 or earlier, especially where email logs are enabled or reviewed by administrators. The bundle does not identify other affected products.
Exploitation context
The CVE states unauthenticated attackers can inject scripts that execute when a user accesses an injected page. The bundle does not cite CISA KEV listing or active exploitation evidence, so active exploitation should not be assumed from these sources.
Researcher notes
Do not broaden affected scope beyond SMTP for SendGrid - YaySMTP <= 1.4 based on the provided bundle. The fix appears tied to WordPress plugin repository activity, but the bundle does not explicitly name a fixed version. Validate against vendor release notes before closing tickets.
Mitigation direction
Inventory WordPress sites for SMTP for SendGrid - YaySMTP installations.
Confirm whether installed versions are 1.4 or earlier.
Check vendor and WordPress plugin guidance for a fixed release beyond 1.4.
Temporarily disable the plugin if no fixed release is available.
Restrict access to administrative log views where operationally possible.
Review email logs for suspicious script-like content.
Validation and detection
Check the installed plugin version in WordPress or asset inventory.
Confirm whether email logging is enabled and who can view logs.
Review Wordfence and WordPress plugin references for fix status.
Inspect recent plugin changelog entries around changeset 3270556.
Verify remediation by confirming the plugin is updated or disabled.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.