---
id: CVE-2026-13040
title: >-
  The NEX-Forms – Ultimate Forms Plugin for WordPress plugin for WordPress is
  vulnerable to Stored Cross-Site Scripting via the 'real_val__' parameter in
  all versions up to, and including, 9.2.2 due to insufficient input
  sanitization and o…
summary: >-
  The NEX-Forms – Ultimate Forms Plugin for WordPress plugin for WordPress is
  vulnerable to Stored Cross-Site Scripting via the 'real_val__' parameter in
  all versions up to, and including, 9.2.2 due to insufficient input
  sanitization and o…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-13040'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.1.11/includes/classes/class.functions.php#L2461
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.1.11/main.php#L2660
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.1.11/main.php#L467
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.1.11/main.php#L4870
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.1.11/main.php#L4896
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.1.11/main.php#L5323
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.2.2/includes/classes/class.functions.php#L2461
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.2.2/main.php#L2660
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.2.2/main.php#L467
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.2.2/main.php#L4870
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.2.2/main.php#L4896
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nex-forms-express-wp-form-builder/tags/9.2.2/main.php#L5323
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3584399%40nex-forms-express-wp-form-builder&new=3584399%40nex-forms-express-wp-form-builder&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/49dc267a-48cf-487f-bedc-fd892666e9a0?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-07-04T04:55:39.390Z'
epss: 0.00527
epssPercentile: 0.42152
---

## Overview

The NEX-Forms – Ultimate Forms Plugin for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'real_val__' parameter in all versions up to, and including, 9.2.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The submission endpoint is registered via wp_ajax_nopriv_submit_nex_form with no nonce verification, making it fully accessible to unauthenticated attackers without any CSRF token.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
