/

CVE-2026-115821

Severity:

HIGH RISK

(7.2)

Stored XSS (CWE-79) in NewsmanApp WordPress Plugin

CVE-2026-115821

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Client-Side Code Execution and Session or Data Exposure

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The NewsmanApp WordPress plugin contains a stored cross-site scripting vulnerability in the billing_first_name and billing_last_name parameters. An unauthenticated attacker may store arbitrary web script that executes in a visitor's browser when the affected content is viewed, provided the Newsman Remarketing feature is enabled with a non-empty Remarketing ID.

The NewsmanApp WordPress plugin contains a stored cross-site scripting vulnerability in the billing_first_name and billing_last_name parameters. An unauthenticated attacker may store arbitrary web script that executes in a visitor's browser when the affected content is viewed, provided the Newsman Remarketing feature is enabled with a non-empty Remarketing ID.

Affected context

The issue affects NewsmanApp WordPress installations using the Newsman Remarketing feature with a non-empty Remarketing ID configured. It occurs where values associated with billing names are accepted without sufficient sanitization and later rendered without context-appropriate output escaping. The vulnerability is reported in plugin versions up to and including 3.7.29.

The issue affects NewsmanApp WordPress installations using the Newsman Remarketing feature with a non-empty Remarketing ID configured. It occurs where values associated with billing names are accepted without sufficient sanitization and later rendered without context-appropriate output escaping. The vulnerability is reported in plugin versions up to and including 3.7.29.

Exploit preconditions

  • Attack surface: NewsmanApp-controlled WordPress pages or rendered plugin content
  • Required access: No authentication is required to submit the affected input
  • Trigger point: A user or administrator views a page containing the stored value
  • Required configuration: The Newsman Remarketing feature must be enabled and a non-empty Remarketing ID must be configured
  • Why exploitation is possible: User-controlled data can be stored and later rendered as browser-interpreted content without adequate sanitization and output encoding
  • Attack surface: NewsmanApp-controlled WordPress pages or rendered plugin content
  • Required access: No authentication is required to submit the affected input
  • Trigger point: A user or administrator views a page containing the stored value
  • Required configuration: The Newsman Remarketing feature must be enabled and a non-empty Remarketing ID must be configured
  • Why exploitation is possible: User-controlled data can be stored and later rendered as browser-interpreted content without adequate sanitization and output encoding

Why this happens

The underlying defect is insufficient neutralization of untrusted input before it is stored and insufficient context-aware escaping when that data is rendered. This allows attacker-controlled values to be interpreted as active browser content rather than inert text. The behavior maps to CWE-79, which covers improper neutralization of input during web page generation.

The underlying defect is insufficient neutralization of untrusted input before it is stored and insufficient context-aware escaping when that data is rendered. This allows attacker-controlled values to be interpreted as active browser content rather than inert text. The behavior maps to CWE-79, which covers improper neutralization of input during web page generation.

Potential impact

  • Malicious script may execute in the browser of a visitor viewing affected content
  • An attacker could target authenticated users, including administrators
  • Session data or page-visible information may be exposed
  • Unauthorized actions could be performed through a victim's browser
  • Site content, reputation, or downstream users may be affected
  • Malicious script may execute in the browser of a visitor viewing affected content
  • An attacker could target authenticated users, including administrators
  • Session data or page-visible information may be exposed
  • Unauthorized actions could be performed through a victim's browser
  • Site content, reputation, or downstream users may be affected

General mitigation guidance

Mitigation generally centers on treating all externally supplied values as

untrusted throughout their lifecycle.

  • Apply allowlist-based validation appropriate to billing-name fields
  • Use context-aware output encoding at every rendering location
  • Prefer secure-by-default rendering APIs that treat values as text
  • Keep the Remarketing integration disabled when it is not required
  • Restrict administrative privileges and review who can change plugin settings
  • Avoid relying on client-side validation or filtering as the primary control
  • Apply layered content security policies where practical to reduce browser-side impact

Mitigation generally centers on treating all externally supplied values as

untrusted throughout their lifecycle.

  • Apply allowlist-based validation appropriate to billing-name fields
  • Use context-aware output encoding at every rendering location
  • Prefer secure-by-default rendering APIs that treat values as text
  • Keep the Remarketing integration disabled when it is not required
  • Restrict administrative privileges and review who can change plugin settings
  • Avoid relying on client-side validation or filtering as the primary control
  • Apply layered content security policies where practical to reduce browser-side impact

How teams detect issues like this

  • Use static analysis to identify unsanitized request parameters reaching HTML output
  • Review code paths involving billing_first_name and billing_last_name from input through storage and rendering
  • Check that escaping is performed at the final output context rather than only during input handling
  • Test plugin workflows with benign marker values and inspect rendered responses for unexpected interpretation
  • Monitor stored content and logs for suspicious markup-like input or anomalous changes
  • Enforce code-review policies requiring validation and context-aware escaping for user-controlled data
  • Automated security scanners and review tools may help identify common reflected and stored XSS patterns
  • Use static analysis to identify unsanitized request parameters reaching HTML output
  • Review code paths involving billing_first_name and billing_last_name from input through storage and rendering
  • Check that escaping is performed at the final output context rather than only during input handling
  • Test plugin workflows with benign marker values and inspect rendered responses for unexpected interpretation
  • Monitor stored content and logs for suspicious markup-like input or anomalous changes
  • Enforce code-review policies requiring validation and context-aware escaping for user-controlled data
  • Automated security scanners and review tools may help identify common reflected and stored XSS patterns

Sources

SourceLink
github.comgithub.com/Newsman/WP-Plugin-NewsmanApp/commit/b3ca3b2fdcd070b43b6b2b720d4ee8ac6ebd4a17
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/newsmanapp/tags/3.7.29/includes/remarketing/action/class-abstractaction.php#L85
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/newsmanapp/tags/3.7.29/includes/remarketing/action/class-purchase.php#L77
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/newsmanapp/tags/3.7.29/includes/remarketing/action/class-purchase.php#L78
plugins.trac.wordpress.orgplugins.trac.wordpress.org/changeset/3767162/newsmanapp/trunk/includes/remarketing/action/class-purchase.php
wordfence.comwordfence.com/threat-intel/vulnerabilities/id/ba6e0223-66d4-4fe7-8c15-6b37990a2f8a?source=cve

Frequently asked

questions

Yes. It can be exploited without authentication when the required Newsman

Remarketing configuration is enabled and attacker-controlled input can reach

the affected parameters.

No authentication is required according to the vulnerability description. The

stored content must still be rendered in a page that a victim visits.

Validate billing-name values according to their intended format, store data

consistently, and apply context-aware output escaping wherever the values are

rendered. Disable the optional Remarketing feature when it is unnecessary.

Treat all request data as untrusted, use secure-by-default templating and

encoding APIs, review storage-to-rendering data flows, and include stored-XSS

testing and security checks in development and release processes.

Yes. It can be exploited without authentication when the required Newsman

Remarketing configuration is enabled and attacker-controlled input can reach

the affected parameters.

No authentication is required according to the vulnerability description. The

stored content must still be rendered in a page that a victim visits.

Validate billing-name values according to their intended format, store data

consistently, and apply context-aware output escaping wherever the values are

rendered. Disable the optional Remarketing feature when it is unnecessary.

Treat all request data as untrusted, use secure-by-default templating and

encoding APIs, review storage-to-rendering data flows, and include stored-XSS

testing and security checks in development and release processes.

Find out what's already
exploitable in your codebase.