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: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑site Scripting (XSS)
Action: Patch Plugin
AI Analysis

Impact

The AI Builder WordPress plugin fails to sanitize custom JavaScript stored with a post, outputting it inside a script tag on the front end. This flaw allows any user with contributor level access or higher to embed arbitrary JavaScript that will execute in the browser of anyone who views the post, including editors and administrators. The injected script can potentially hijack a user’s session or steal sensitive information, thereby compromising the confidentiality and integrity of users’ data.

Affected Systems

Any WordPress site using the AI Builder plugin with a version earlier than 2.7.8. 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

The vulnerability’s EPSS score is < 1%, and it is not listed in CISA’s KEV catalog. The likely 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 medium, as indicated by a CVSS score of 6.8.

Generated by OpenCVE AI on September 11, 2026 at 15:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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-11T10:09:04.835Z

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

Link: CVE-2026-85678

cve-icon Vulnrichment

Updated: 2026-09-11T10:01:50.076Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-09-11T17:35:21.440

Link: CVE-2026-85678

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T15:15:19Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')