Description
The Advanced Ads WordPress plugin before 2.0.23 does not sanitize and escape a shortcode parameter before outputting it in the page, allowing users with the Contributor role and above to inject arbitrary web scripts that execute when the affected content is viewed, including by higher-privileged users.
Published: 2026-07-27
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Advanced Ads plugin prior to version 2.0.23 does not validate or escape the 'ad_args' parameter in the 'the_ad' shortcode. An attacker who has Contributor-level or higher access can embed malicious JavaScript that is stored with the content and runs in the browsers of any user who views that page, potentially leading to data theft, session hijacking, or defacement.

Affected Systems

The vulnerability affects the Advanced Ads WordPress plugin. Any installation using a version earlier than 2.0.23 is impacted. The issue is triggered when content includes the processed 'the_ad' shortcode with an unsanitized 'ad_args' value.

Risk and Exploitability

The CVSS score of 6.1 indicates medium severity. The exploit is feasible for anyone who can edit or insert content using a Contributor or higher role, making it a local web-based attack. The EPSS score of <1% indicates a very low but non-zero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog, yet the presence of stored code that executes in browsers of higher-privileged users makes exploitation likely in environments where elevated roles are present.

Generated by OpenCVE AI on August 3, 2026 at 18:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Advanced Ads to version 2.0.23 or later to receive the input sanitization fix
  • Restrict Contributor and higher roles to trusted users only, or consider removing unnecessary elevated roles
  • Scan existing content for injected JavaScript and sanitize or remove any malicious scripts that may already be stored

Generated by OpenCVE AI on August 3, 2026 at 18:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

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

ssvc

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


Mon, 27 Jul 2026 06:30:00 +0000

Type Values Removed Values Added
Description The Advanced Ads WordPress plugin before 2.0.23 does not sanitize and escape a shortcode parameter before outputting it in the page, allowing users with the Contributor role and above to inject arbitrary web scripts that execute when the affected content is viewed, including by higher-privileged users.
Title Advanced Ads – Ad Manager & AdSense < 2.0.23 - Contributor+ Stored XSS via the_ad Shortcode 'ad_args' Parameter
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-07-27T14:13:34.190Z

Reserved: 2026-05-29T11:01:03.755Z

Link: CVE-2026-10082

cve-icon Vulnrichment

Updated: 2026-07-27T14:13:30.534Z

cve-icon NVD

Status : Deferred

Published: 2026-07-27T07:16:24.183

Modified: 2026-07-27T20:33:01.673

Link: CVE-2026-10082

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:15:04Z

Weaknesses
  • CWE-79

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