GHSA-6x9h-hg2c-hwf8MediumCVSS 6.4
The Insert Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (10)
- https://nvd.nist.gov/vuln/detail/CVE-2026-10089
- https://plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.3/insert-pages.php#L1771
- https://plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.3/insert-pages.php#L1789
- https://plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.3/insert-pages.php#L768
- https://plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.4/insert-pages.php#L1771
- https://plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.4/insert-pages.php#L1789
- https://plugins.trac.wordpress.org/browser/insert-pages/tags/3.11.4/insert-pages.php#L768
- https://plugins.trac.wordpress.org/changeset/3579298
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a4246181-d331-46b0-ad48-e2ece11b2f5f?source=cve
- https://github.com/advisories/GHSA-6x9h-hg2c-hwf8