---
id: CVE-2025-11160
title: >-
  The WPBakery Page Builder plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the Custom JS module in all versions up to, and
  including, 8.6.1
summary: >-
  The WPBakery Page Builder plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the Custom JS module in all versions up to, and
  including, 8.6.1. This is due to insufficient input sanitization and output
  escaping of user-…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-80
vendor: wpbakery
product: page_builder
affected:
  - page_builder < 8.7
patched:
  - page_builder 8.7
published: '2025-10-15'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T12:10:00.217'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-11160'
references:
  - url: 'https://kb.wpbakery.com/docs/preface/release-notes/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/4c42cc4e-34e7-4f14-b850-7ba5dd2ae099?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00213
epssPercentile: 0.10652
ingestedAt: '2026-10-08T11:31:27.416Z'
---

## Overview

The WPBakery Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Custom JS module in all versions up to, and including, 8.6.1. This is due to insufficient input sanitization and output escaping of user-supplied JavaScript code in the Custom JS module. This makes it possible for authenticated attackers with contributor-level access or higher to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via the WPBakery Page Builder Custom JS module granted they have access to the WPBakery editor for post types.

## Affected

- `page_builder < 8.7`

## Remediation

Upgrade past the affected range:

- `page_builder 8.7`
