---
id: CVE-2026-85678
title: >-
  The AI Builder  WordPress plugin before 2.7.8 does not sanitise custom
  JavaScript saved against a post before echoing it inside a script tag on the
  front end, allowing users with contributor level access and above to store
  arbitrary Java…
summary: >-
  The AI Builder  WordPress plugin before 2.7.8 does not sanitise custom
  JavaScript saved against a post before echoing it inside a script tag on the
  front end, allowing users with contributor level access and above to store
  arbitrary Java…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-79
product: AI Builder
affected:
  - ai_builder >= 2.4.1 < 2.7.8
published: '2026-09-11'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T17:35:21.440'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85678'
references:
  - url: 'https://wpscan.com/vulnerability/d81ebdaa-4a06-48df-a471-c11ea7dc62f8/'
    label: contact@wpscan.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-11T10:02:01.254876Z'
epss: 0.00431
epssPercentile: 0.34628
ingestedAt: '2026-09-11T16:45:47.924Z'
---

## Overview

The AI Builder  WordPress plugin before 2.7.8 does not sanitise custom JavaScript saved against a post before echoing it inside a script tag on the front end, allowing users with contributor level access and above to store arbitrary JavaScript that will execute in the browser of anyone who views the post, including the editor or administrator who reviews it.

## Remediation

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