CVE-2025-3918CWE-285

Job Listings 0.1 - 0.1.1 - Unauthenticated Privilege Escalation via register_action Function

Critical · published May 3, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
46.6
In the wild
Unconfirmed
What it is

🚨 A single line of code is all it takes for an attacker to level up from a mere visitor to an admin in WordPress! 🔥 Think of this vulnerability as a restaurant where anyone can walk in and declare themselves head chef — no qualifications needed! Just like that chef could ruin dinner for everyone, an attacker can wreak havoc on your WordPress site. If exploited, an attacker can gain administrative privileges without ever logging in. This means they could change settings, delete content, or even install malicious plugins, leading to devastating consequences for your website's integrity and security.

Put simply

Think of this vulnerability as a restaurant where anyone can walk in and declare themselves head chef — no qualifications needed! Just like that chef could ruin dinner for everyone, an attacker can wreak havoc on your WordPress site. The Job Listings plugin for WordPress improperly processes the user role from the registration request, allowing unauthorized users to elevate their roles to admin by directly manipulating the $_POST['user_role'] value before it's passed to wp_insert_user().

What to do

If exploited, an attacker can gain administrative privileges without ever logging in. This means they could change settings, delete content, or even install malicious plugins, leading to devastating consequences for your website's integrity and security. To secure your site, immediately update the Job Listings plugin to version 0.1.2 or later, which includes the necessary fixes. Also, review user roles in the system to ensure no unauthorized changes have been made. You've got this! By taking these steps, you can patch this vulnerability and keep your site safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00572 · 46.6th percentile
Weakness
CWE-285 · Improper Authorization
Published
2025-05-03T01:43Z
EPSS history
Timeline
  • 03 MAY 01:43Z
    Job Listings 0.1 - 0.1.1 - Unauthenticated Privilege Escalation via register_action Function
    cvelistv5