Description
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.
Published: 2026-09-11
Score: n/a
EPSS: n/a
KEV: No
Impact: Stored Cross‑site Scripting (XSS)
Action: Patch Plugin
AI Analysis

Impact

The AI Builder WordPress plugin fails to sanitize custom JavaScript that is stored with a post, outputting it inside a script tag on the front end. This flaw allows a user with contributor privileges or higher to inject arbitrary JavaScript that will execute in the browser of anyone who views the post, including editors or administrators. The attacker can hijack the victim’s session, spread malware, or perform phishing attacks, threatening the confidentiality, integrity, and availability of the website’s user data.

Affected Systems

Any WordPress site using the AI Builder plugin with a version earlier than 2.7.8. In particular, users with contributor or higher role privileges can exploit the issue because the plugin does not enforce stricter access controls on the custom JavaScript field.

Risk and Exploitability

No EPSS score is available for this vulnerability, and it is not listed in CISA’s KEV catalog. The attack vector is privilege‑based: an authenticated contributor or higher user can create or edit a post to embed malicious script. Once a victim visits the post, the injected code runs with the victim’s browser context, providing the attacker with the ability to steal cookies, perform actions on behalf of the user, or deface pages. The vulnerability’s severity is high, as it grants cross‑site scripting without additional prerequisites beyond legitimate contributor access.

Generated by OpenCVE AI on September 11, 2026 at 07:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the AI Builder plugin to version 2.7.8 or later, which includes proper sanitization of custom JavaScript.
  • If an update is not immediately possible, restrict contributor and higher roles from adding custom JavaScript or disable the affected feature entirely.
  • Deploy a Content Security Policy that disallows inline scripts or restricts script sources to known safe domains, mitigating the impact of any remaining injection.

Generated by OpenCVE AI on September 11, 2026 at 07:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 06:30:00 +0000

Type Values Removed Values Added
Description 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.
Title AI Builder 2.4.1 - 2.7.7 - Contributor+ Stored XSS via Post JavaScript
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-11T06:00:08.490Z

Reserved: 2026-09-04T13:36:50.775Z

Link: CVE-2026-85678

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T07:16:47.247

Modified: 2026-09-11T07:16:47.247

Link: CVE-2026-85678

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T07:30:10Z

Weaknesses

No weakness.