CVE-2026-135641 is a critical (CVSS 9.1) authentication bypass in the WP Job Portal WordPress plugin, versions up to and including 2.7.2, that lets unauthenticated attackers take over existing Employer or Jobseeker accounts.
What Is It
The flaw is in WPJOBPORTALuser::__construct(). The plugin checks that the wpjobportal-socialid cookie is not empty before it applies sanitize_key(), when it should check after. An attacker can send a cookie made up only of characters outside [a-z0-9_-]. That value passes the check, and sanitize_key() then reduces it to an empty string. The plugin uses that empty string in a WHERE socialid = '' database query, which matches the first portal account whose socialid column is empty. The attacker's session is then bound to that account.
Wordfence reported the issue and classifies it as CWE-269. NVD lists the record's status as "Deferred."
Why It Matters
- No barriers to exploitation: The CVSS vector
AV:N/AC:L/PR:N/UI:Nmeans the attack works over the network, has low complexity, and needs no privileges or user interaction. Confidentiality and integrity impact are both High. - Most installs are exposed: Any portal account that was not created through the social-login flow keeps the default empty
socialid. According to the description, that makes exploitation viable on virtually all installations. - Full control of the victim's portal data: The attacker can create, edit and delete the victim's companies, job listings, resumes and applications. Through the
saveuser→syncWPUserName()path, they can also overwrite the linked WordPress user's first name, last name and display name. - Nonces don't help: Nonce checks on later actions such as
savecompanyandsaveuserdo not stop the attack. Those nonces are created inside the hijacked session, so they validate the attacker's own requests.
The attacker gains control of a separate, already-privileged Employer or Jobseeker account. The description says the bug does not raise the privileges of the attacker's original account.
The supplied CISA KEV entry is empty, so this data does not confirm active exploitation.
What's Vulnerable
- Vendor: wpjobportal
- Product: WP Job Portal – AI-Powered Recruitment System for Company or Job Board website (WordPress plugin)
- Affected versions: all versions up to and including 2.7.2
Patch Status
NVD lists every version up to and including 2.7.2 as affected. The record's references include a WordPress plugin changeset from the 2.7.2 tag to the 2.8.0 tag. Administrators should check that tag against the vendor's and Wordfence's guidance and move off 2.7.2 or earlier. There is no KEV entry, so no CISA required action or due date applies.