Skip to main content
Vulnerability Database/CVE-2026-86797

CVE-2026-86797: Pricing Table WordPress Plugin XSS Flaw

CVE-2026-86797 is a stored cross-site scripting vulnerability in the Pricing Table WordPress plugin that allows contributors to inject malicious scripts. This post covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-86797 Overview

CVE-2026-86797 is a stored Cross-Site Scripting (XSS) vulnerability in the Pricing Table WordPress plugin versions prior to 2.1.5. The plugin fails to validate the URL scheme of a user-supplied link value in one of its blocks before rendering it. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when other users view or interact with the affected content. The flaw is categorized under [CWE-79], Improper Neutralization of Input During Web Page Generation.

Critical Impact

A contributor-level account can store JavaScript payloads that execute in the context of higher-privileged users, enabling session theft, administrative action hijacking, and content manipulation.

Affected Products

  • Pricing Table WordPress plugin versions before 2.1.5

Discovery Timeline

  • 2026-10-14 - CVE-2026-86797 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-86797

Vulnerability Analysis

The Pricing Table plugin exposes a block that accepts a link value from the content author. The rendering logic places the attacker-controlled value into an HTML attribute without restricting the URL scheme. Supplying a javascript: URI (or similar non-HTTP scheme) causes the browser to execute the embedded script when the link is activated or rendered in certain contexts.

Because contributor accounts can save posts containing these blocks, the payload is persisted in the WordPress database. When an editor or administrator previews or reviews the submission, the script runs under their session. The attacker inherits the privileges of the viewing user for the duration of the page load.

Root Cause

The plugin does not enforce an allowlist of safe URL schemes (http, https, mailto) on the link field before output. WordPress provides esc_url() and wp_kses precisely to filter dangerous protocols, but the vulnerable block omits this sanitization step prior to version 2.1.5.

Attack Vector

An authenticated attacker with contributor privileges inserts the vulnerable Pricing Table block into a post. The attacker sets the link value to a payload using the javascript: scheme carrying arbitrary JavaScript. The malicious post is submitted for review. When a higher-privileged user interacts with the stored link, the browser executes the payload under that user's session, enabling account takeover or privileged WordPress REST API calls.

See the WPScan Vulnerability Advisory for technical specifics.

Detection Methods for CVE-2026-86797

Indicators of Compromise

  • Pricing Table blocks containing link attributes with javascript:, data:, or vbscript: URI schemes stored in wp_posts.post_content.
  • Unexpected outbound HTTP requests from administrator browser sessions following a post review action.
  • Creation of new administrator accounts or modification of user roles shortly after a contributor submits content.

Detection Strategies

  • Query the WordPress database for post content referencing the Pricing Table block with non-standard URL schemes in link fields.
  • Inspect web server logs for POST requests to wp-admin/post.php from contributor accounts containing suspicious URI payloads.
  • Review installed plugin versions across the WordPress estate and flag any Pricing Table installation below 2.1.5.

Monitoring Recommendations

  • Alert on privilege changes, new administrator accounts, and REST API calls originating from editor or administrator sessions immediately after content review workflows.
  • Monitor Content Security Policy (CSP) violation reports for inline script execution on authenticated admin pages.

How to Mitigate CVE-2026-86797

Immediate Actions Required

  • Update the Pricing Table plugin to version 2.1.5 or later across all WordPress installations.
  • Audit existing posts that use Pricing Table blocks for link values beginning with javascript:, data:, or vbscript:.
  • Review contributor and author accounts for unexpected submissions and revoke access for untrusted users pending audit.

Patch Information

The plugin maintainers addressed the vulnerability in version 2.1.5 by validating the URL scheme on the affected block's link field. Refer to the WPScan Vulnerability Advisory for upgrade guidance.

Workarounds

  • Restrict contributor and author roles to trusted users until the plugin is upgraded.
  • Disable the Pricing Table plugin if upgrade cannot be performed immediately.
  • Deploy a web application firewall (WAF) rule to block requests containing javascript: schemes in Pricing Table block parameters.
bash
# Verify installed plugin version and update via WP-CLI
wp plugin get pricing-table --field=version
wp plugin update pricing-table --version=2.1.5

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.