Ghost Kit – Page Builder Blocks, Motion Effects & Extensions <= 3.7.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via Global Custom JavaScript

Medium 4.4 CWE-79Fixed in 3.8.0
ID
WPSEC-2026-1639
Plugin
Block Animations, Motion & Scroll Effects – Ghost Kit (ghostkit)
Affected
all versions before 3.8.0
Remediation
Update to 3.8.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-25
Attack surface
Ghost Kit – Page Builder Blocks, Motion Effects & Extensions on WPSec AttackSurface
Fix released
Published

Description

The Ghost Kit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the update_custom_code REST API route in all versions up to, and including, 3.7.2, due to a missing unfiltered_html capability check when saving the global head and footer JavaScript, which is printed unescaped on every page. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts that execute whenever a user visits the site. This only affects multi-site installations and installations where unfiltered_html has been disabled.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0