7.2
HIGH
CVE-2025-0916
WordPress YaySMTP Stored Cross-Site Scripting Vulnerability
Description

The YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 2.4.9 to 2.6.2 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. Note: The vulnerability has been initially patched in version 2.4.8 and was reintroduced in version 2.4.9 with the removal of the wp_kses_post() built-in WordPress sanitization function.

INFO

Published Date :

Feb. 19, 2025, 12:15 p.m.

Last Modified :

Feb. 25, 2025, 8:19 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2025-0916 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Yaycommerce yaysmtp
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-0916 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-0916 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 25, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Added CPE Configuration OR *cpe:2.3:a:yaycommerce:yaysmtp:*:*:*:*:*:wordpress:*:* versions from (including) 2.4.9 up to (excluding) 2.6.3
    Changed Reference Type https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Functions.php No Types Assigned https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Functions.php Product
    Changed Reference Type https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Helper/Utils.php No Types Assigned https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Helper/Utils.php Product
    Changed Reference Type https://plugins.trac.wordpress.org/changeset/3238172 No Types Assigned https://plugins.trac.wordpress.org/changeset/3238172 Patch
    Changed Reference Type https://wordpress.org/plugins/yaysmtp/#developers No Types Assigned https://wordpress.org/plugins/yaysmtp/#developers Product, Release Notes
    Changed Reference Type https://www.wordfence.com/threat-intel/vulnerabilities/id/209019bd-b214-4389-a972-42e38d501203?source=cve No Types Assigned https://www.wordfence.com/threat-intel/vulnerabilities/id/209019bd-b214-4389-a972-42e38d501203?source=cve Third Party Advisory
  • New CVE Received by [email protected]

    Feb. 19, 2025

    Action Type Old Value New Value
    Added Description The YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 2.4.9 to 2.6.2 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. Note: The vulnerability has been initially patched in version 2.4.8 and was reintroduced in version 2.4.9 with the removal of the wp_kses_post() built-in WordPress sanitization function.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
    Added CWE CWE-79
    Added Reference https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Functions.php
    Added Reference https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Helper/Utils.php
    Added Reference https://plugins.trac.wordpress.org/changeset/3238172
    Added Reference https://wordpress.org/plugins/yaysmtp/#developers
    Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/209019bd-b214-4389-a972-42e38d501203?source=cve
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-0916 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-0916 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability