VYPR
Medium severity6.4NVD Advisory· Published May 27, 2026

CVE-2026-8698

CVE-2026-8698

Description

The Cryptocurrency Prijsvergelijking Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting in version 1.0. This is due to insufficient output escaping in the as_get_coin_shortcode() function, which renders the 'width' (and 'height') shortcode attribute directly into the style attribute of an element without applying any escaping function such as esc_attr(). An attacker-controlled value like '100px;"onload="alert(1)" x="' terminates the style attribute prematurely and injects an arbitrary HTML attribute into the iframe tag. 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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stored XSS in Cryptocurrency Prijsvergelijking Widget plugin v1.0 allows contributor+ attackers to inject scripts via unescaped width/height attributes.

Vulnerability

The vulnerability exists in the as_get_coin_shortcode() function in functions.php of the Cryptocurrency Prijsvergelijking Widget plugin for WordPress version 1.0. The function renders the width and height shortcode attributes directly into the style attribute of an ` element without applying output escaping such as esc_attr(). This allows an attacker to terminate the style attribute and inject arbitrary HTML attributes, leading to stored cross-site scripting (XSS). The vulnerable code is located at lines 138 and 157 of functions.php` [1][2].

Exploitation

An authenticated attacker with contributor-level access or higher can create or edit a post or page and insert the vulnerable shortcode with a crafted width attribute, for example: 100px;"onload="alert(1)" x=". This value breaks out of the style attribute and injects an onload event handler into the `` tag. When any user visits the page, the injected script executes in their browser.

Impact

Successful exploitation allows the attacker to inject arbitrary web scripts into pages. These scripts execute in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information. The attacker gains the ability to perform actions on behalf of the victim within the WordPress site.

Mitigation

As of the publication date (2026-05-27), no fixed version has been released. The plugin version 1.0 is affected. Users should disable the plugin until a patch is available. There is no known workaround. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.