CVE-2026-12938

Newsletters <= 4.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'target' Shortcode Attribute

Published Jul 29, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Newsletters Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'target' attribute of the [newsletters_post] shortcode in versions up to and including 4.15. This is due to insufficient input sanitization and output escaping in the posts_single() function which propagates the attacker-controlled 'target' attribute into the global $wpml_target, and in the shortcode_posts() 'post_thumbnail' handler which concatenates $wpml_target into a target="..." HTML attribute without esc_attr(). This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The Newsletters Lite WordPress plugin allows stored Cross‑Site Scripting through the 'target' attribute of the [newsletters_post] shortcode. Because the plugin fails to escape the attribute value, an authenticated user with Contributor or higher privileges can inject malicious JavaScript that is stored and later executed whenever anyone views a page containing the shortcode. The injected script runs in the victim’s browser and can lead to session hijacking, defacement, or credential theft.

Affected Systems

This flaw affects all installations of the Newsletters Lite plugin for WordPress versions 4.15 and earlier. The vendor is contrid and the product is "Newsletters Lite". Sites running any of these releases are vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 6.4, indicating a medium severity, and an EPSS score of less than 1%, suggesting a low current exploitation probability. It is not listed in the CISA KEV catalog. The attack requires authenticated access at the Contributor level, so only users with that role can inject the payload. Once injected, the stored XSS can affect any site visitor, potentially causing serious information disclosure or credential compromise. Administrators should consider the moderate risk and assess whether their user roles permit such access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Newsletters Lite plugin to the latest version (e.g., 4.16 or later) where the 'target' attribute is properly escaped.
  • If an upgrade cannot be performed immediately, remove or disable the [newsletters_post] shortcode for users with Contributor or higher roles, or reduce those roles to a safer level.
  • Deploy a Web Application Firewall rule that filters or sanitizes the target attribute of HTML tags to block unexpected JavaScript, limiting the impact of any remaining stored XSS.
  • Review the WordPress user role configuration to ensure only trusted administrators have Contributor or higher privileges, mitigating the authenticated‑only attack vector.

Generated by OpenCVE AI on August 3, 2026 at 14:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Contrid
Contrid newsletters
Wordpress
Wordpress wordpress
Vendors & Products Contrid
Contrid newsletters
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Newsletters Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'target' attribute of the [newsletters_post] shortcode in versions up to and including 4.15. This is due to insufficient input sanitization and output escaping in the posts_single() function which propagates the attacker-controlled 'target' attribute into the global $wpml_target, and in the shortcode_posts() 'post_thumbnail' handler which concatenates $wpml_target into a target="..." HTML attribute without esc_attr(). This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Newsletters <= 4.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'target' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 29, 2026, 12:30 PM
Reserved
Jun 22, 2026, 7:35 PM
Status
Deferred
Published
Jul 29, 2026, 2:16 AM
Modified
Jul 30, 2026, 2:01 PM