# CVE-2026-135641: WP Job Portal \<= 2.7.2 - Unauthenticated Privilege Escalation via Account Takeover to 'wpjobportal-socialid' Cookie

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-269
- **Published:** 2026-11-26T14:36:04.928Z
- **Modified:** 2026-11-26T15:17:26.217Z

## Who should check

- Anyone running wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website \<= 2.7.2

## Description

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.

## Affected and fixed versions

- wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website: \<= 2.7.2 (cvelist)

## Technologies

WordPress plugins and themes

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-135641. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-135641.md
Affected: wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website <= 2.7.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-135641 being exploited?

There is no confirmed exploitation: CVE-2026-135641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-135641?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-135641?

wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website \<= 2.7.2.

### Is there a fix for CVE-2026-135641?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-135641?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/36882d99-ba85-42b7-b53e-5776d9b984bb?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/wp-job-portal/tags/2.7.2/includes/classes/user.php#L22>
- other: <https://plugins.trac.wordpress.org/browser/wp-job-portal/tags/2.7.2/includes/classes/user.php#L19>
- other: <https://plugins.trac.wordpress.org/browser/wp-job-portal/tags/2.7.2/includes/services/class-wpjobportal-core-action-policy-service.php#L574>
- other: <https://plugins.trac.wordpress.org/browser/wp-job-portal/tags/2.7.2/includes/classes/user.php#L21>
- other: <https://plugins.trac.wordpress.org/browser/wp-job-portal/tags/2.7.2/includes/request.php#L157>
- other: <https://plugins.trac.wordpress.org/changeset?reponame=&new=3792259%40wp-job-portal%2Ftags%2F2.8.0&old=3772060%40wp-job-portal%2Ftags%2F2.7.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-135641>

HTML: <https://flawdb.com/CVE-2026-135641> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-135641>
