Description
The Insert Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post custom field keys (meta key names) in all versions up to, and including, 3.11.4. This is due to insufficient output escaping in the the_meta() function: while the custom field VALUE is sanitized with wp_kses_post(), the custom field KEY ($key) is interpolated into the rendered HTML (lines 1786-1791) and echoed (line 1806) without any escaping when an inserted page is rendered with the [insert page='ID' display='all'] shortcode. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
References8
- plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.3/ins…
- plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.3/ins…
- plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.3/ins…
- plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.4/ins…
- plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.4/ins…
- plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.4/ins…
- plugins.trac.wordpress.org/changeset/3579298
- www.wordfence.com/threat-intel/vulnerabilities/id/a4246181-d331…
Metrics
- CVSS 3.1
-
6.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 30 · as of 16 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.