WP Job Portal <= 2.7.2 - Unauthenticated Privilege Escalation via Account Takeover to 'wpjobportal-socialid' Cookie
Strategic Overview
- Status
- Patched in 2.8.0
- Affected Version
<= 2.7.2- CVSS
- 9.1Critical
- Weakness type
- CWE-269 · Improper Privilege Management
- CVE
CVE-2026-135641
At a glance
CVE-2026-135641 is a critical-severity Improper Privilege Management vulnerability in the WP Job Portal WordPress plugin, affecting versions <= 2.7.2. It carries a CVSS score of 9.1 (reachable over the network; low attack complexity; high confidentiality, integrity impact). Exploitation requires no authentication. The issue is fixed in version 2.8.0; sites on affected versions should update now. Disclosed November 2026, reported by Kuba.
Vulnerability Overview
The WP Job Portal – AI-Powered Recruitment System for Company or Job Board website plugin for WordPress is vulnerable to Authentication Bypass leading to Account Takeover in all versions up to, and including, 2.7.2 This is due to a flaw in `WPJOBPORTALuser::__construct()` where the non-empty guard on the `wpjobportal-socialid` cookie is evaluated against the raw cookie value before `sanitize_key()` is applied — allowing a value composed entirely of characters outside `[a-z0-9_-]` to pass the guard, be reduced to an empty string by `sanitize_key()`, and be used as the literal value in a `WHERE socialid = ''` database query that matches the first portal account whose `socialid` column is empty. This makes it possible for unauthenticated attackers to be bound to an existing WP Job Portal Employer or Jobseeker account, gaining the ability to create, edit, and delete the victim's companies, job listings, resumes, and applications, as well as overwrite the linked WordPress user's first name, last name, and display name via the `saveuser`→`syncWPUserName()` path. Exploitation is viable on virtually all installations because every portal account not registered through the social-login flow retains the default empty `socialid` value; nonce checks on downstream actions such as `savecompany` and `saveuser` do not mitigate this issue because those nonces are minted within the already-hijacked session and validate against the attacker's own subsequent requests. Successful exploitation gives the attacker control of a distinct, already-privileged WP Job Portal Employer / Jobseeker (bound to a specific WordPress user) account; it does not promote the attacker's original account.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity.
CWE-269: Improper Privilege Management
WP Job Portal <= 2.7.2 carries this weakness at __construct(), and reaching it takes no account at all. Improper privilege management means the code lets an account end up with capabilities its role should not have.
It converts a low-privileged account into an administrative one, which makes every other restriction on the site irrelevant. For WP Job Portal the fix is 2.8.0: builds <= 2.7.2 are affected, anything from 2.8.0 onward is not.
Remediation
Update to version 2.8.0, or a newer patched version
How does WordSec protect against this?
This one needs no account at all, which puts it outside what login hardening can reach; WordSec's login security narrows the account-level paths around it, and the firewall is what inspects the request itself. None of that substitutes for the fix: WP Job Portal 2.8.0 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in WP Job Portal – AI-Powered Recruitment System for Company or Job Board website
- 9.8CVE-2025-47438: WP Job Portal <= 2.3.1 Local File Inclusion
CVE-2025-47438 - 9.8CVE-2024-7950: WP Job Portal Unauthenticated LFI, Arbitrary Settings
CVE-2024-7950 - 9.8CVE-2023-4490: WP Job Portal <= 2.0.5 SQL Injection
CVE-2023-4490 - 8.8CVE-2026-4758: WP Job Portal <= 2.4.9 Arbitrary File Deletion
CVE-2026-4758 - 8.8CVE-2025-26935: WP Job Portal <= 2.2.8 Local File Inclusion
CVE-2025-26935 - 7.5CVE-2026-42684: WP Job Portal SQL Injection
CVE-2026-42684 - 7.5CVE-2026-4306: WP Job Portal <= 2.4.8 SQL Injection
CVE-2026-4306 - 7.5CVE-2025-48274: WP Job Portal <= 2.3.2 SQL Injection
CVE-2025-48274
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C