---
id: CVE-2026-107631
title: >-
  The Record of Consent Extension for Complianz plugin for WordPress is
  vulnerable to Stored Cross-Site Scripting via the 'uid' parameter in all
  versions up to, and including, 2.5 due to insufficient input sanitization and
  output escaping.…
summary: >-
  The Record of Consent Extension for Complianz plugin for WordPress is
  vulnerable to Stored Cross-Site Scripting via the 'uid' parameter in all
  versions up to, and including, 2.5 due to insufficient input sanitization and
  output escaping.…
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-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T08:17:04.260'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107631'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/record-of-consent-extension-for-complianz/tags/2.5/includes/admin-tab-records.php#L643
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/record-of-consent-extension-for-complianz/tags/2.5/includes/class-rocext-consent-handler.php#L105
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/record-of-consent-extension-for-complianz/tags/2.5/includes/class-rocext-consent-handler.php#L289
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/record-of-consent-extension-for-complianz/tags/2.5/js/admin.js#L701
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&new=3736545%40record-of-consent-extension-for-complianz%2Ftags%2F2.6&old=3736488%40record-of-consent-extension-for-complianz%2Ftags%2F2.5
    label: security@wordfence.com
  - url: 'https://wordpress.org/plugins/record-of-consent-extension-for-complianz/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/8f56e7de-5a85-4b99-95d3-596af7694394?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-10-14T08:23:04.341Z'
---

## Overview

The Record of Consent Extension for Complianz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'uid' parameter in all versions up to, and including, 2.5 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. This is possible because the enforcing nonce is emitted via wp_localize_script on wp_enqueue_scripts and is therefore readable by any unauthenticated frontend visitor, and no capability or role check gates the write path.

## Remediation

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