---
id: CVE-2025-11161
title: >-
  The WPBakery Page Builder plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the vc_custom_heading shortcode 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 vc_custom_heading shortcode in all versions up
  to, and including, 8.6.1. This is due to insufficient restriction of allowed
  HTML tags and…
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-11161'
references:
  - url: 'http://kb.wpbakery.com/docs/preface/release-notes/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/2772cade-c625-437a-b57b-ce8a2e3393bf?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 vc_custom_heading shortcode in all versions up to, and including, 8.6.1. This is due to insufficient restriction of allowed HTML tags and improper sanitization of user-supplied attributes in the font_container parameter. This makes it possible for authenticated attackers with contributor-level access or higher to inject arbitrary web scripts in posts that will execute whenever a user accesses an injected page via the vc_custom_heading shortcode with malicious tag and text attributes granted they have access to use WPBakery shortcodes.

## Affected

- `page_builder < 8.7`

## Remediation

Upgrade past the affected range:

- `page_builder 8.7`
