# WP Job Portal – AI-Powered Recruitment System for Company or Job Board website <= 2.7.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Job Structured Data (JSON-LD)

- **ID:** WPSEC-2026-1806
- **Plugin:** WP Job Portal – AI-Powered Recruitment System for Company or Job Board website (`wp-job-portal`), https://wordpress.org/plugins/wp-job-portal/
- **Affected versions:** all versions before 2.7.1
- **Fixed in:** 2.7.1 (Update to 2.7.1 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-job-portal
- **Fix released:** 2026-10-27
- **Published:** 2026-10-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1806/

## Description

The WP Job Portal plugin for WordPress is vulnerable to Stored Cross-Site Scripting via job fields output in the Google job schema JSON-LD block in all versions up to, and including, 2.7.0. This is due to insufficient input sanitization and output escaping: job values were stripped of tags before HTML entities were decoded, turning entity-encoded markup such as '&lt;/script&gt;' into live tags, and the result was JSON-encoded without JSON_HEX_TAG inside a <script type="application/ld+json"> element. This makes it possible for authenticated attackers with subscriber-level access or higher who can post jobs, such as registered employers, to inject arbitrary web scripts that execute whenever a user visits the affected job page.

## References

- https://wpsec.com/vuln/WPSEC-2026-1806/
- https://plugins.svn.wordpress.org/wp-job-portal/tags/2.7.1/
- https://wordpress.org/plugins/wp-job-portal/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1806/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
