Atomic Edge analysis of CVE-2026-1807 (metadata-based):
This vulnerability is an authenticated stored cross-site scripting (XSS) flaw in the InteractiveCalculator WordPress plugin. Attackers with contributor-level permissions or higher can inject malicious scripts via the ‘interactivecalculator’ shortcode’s ‘id’ attribute. The injected scripts execute whenever a user views a page containing the compromised shortcode.

Atomic Edge research infers the root cause is insufficient input sanitization and output escaping on user-supplied shortcode attributes. The plugin likely registers a shortcode handler using `add_shortcode(‘interactivecalculator’, …)`. This handler processes attributes like ‘id’ but fails to apply proper sanitization functions such as `sanitize_text_field()` or output escaping functions like `esc_attr()` before echoing the attribute value into page HTML. This inference is based on the CWE-79 classification and the vulnerability description referencing insufficient input sanitization and output escaping.

Exploitation requires an authenticated attacker with contributor-level access. The attacker creates or edits a post or page, inserting the shortcode `[interactivecalculator id=”maliciousPayload()”]`. The plugin stores this unsanitized attribute in the post content. When WordPress renders the page, the plugin’s shortcode handler outputs the ‘id’ value directly without escaping, causing script execution in visitors’ browsers. The attack vector is the WordPress editor interface, with the payload delivered via the standard post update mechanism (POST requests to `/wp-admin/post.php`).

Remediation requires implementing proper input validation and output escaping. The patched version likely adds `sanitize_text_field()` or similar validation when processing the shortcode attributes. It also likely adds `esc_attr()` or equivalent output escaping when echoing the ‘id’ attribute value into HTML. WordPress developers should follow the core security guidelines: validate early, escape late, and never trust user input.

Successful exploitation allows attackers to perform actions within the victim’s browser context. This can lead to session hijacking, administrative actions performed by logged-in administrators, content defacement, or redirection to malicious sites. The stored nature means a single injection affects all users viewing the compromised page. The CVSS score of 6.4 reflects medium confidentiality and integrity impacts with no availability impact, but with scope change (affecting other site components).