Quick answers
- Is CVE-2026-7430 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-7430 being exploited in the wild.
- How severe is CVE-2026-7430?
- Medium severity, with a CVSS score of 4.4, published 29 May 2026.
- Which products and versions are affected?
- Post Snippets up to, and including, 4.0.19.
- Is there a fix for CVE-2026-7430?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-7430 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-7430?
- Check whether you run Post Snippets at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient output escaping in the `jqueryUiDialog()` method within `WPEditor.php`. Specifically, snippet content is embedded directly into JavaScript string literals without escaping double quotes, as the relevant escaping code was commented out. When snippets are imported via the Import/Export feature, they bypass the standard `wp_magic_quotes()` protection. An authenticated attacker with Administrator-level access can exploit this by importing a malicious file containing crafted snippets. These scripts execute in the context of any administrator accessing the post editor. This vulnerability specifically impacts multi-site environments where administrators do not inherently possess the `unfiltered_html` capability. The issue is addressed in version 4.1.1.
Affected products
- Post Snippets Post Snippets up to, and including, 4.0.19
Timeline
- 2026-05-29: disclosed
- 2026-05-29: advisory
References
- https://plugins.trac.wordpress.org/browser/post-snippets/tags/4.0.19/src/PostSnippets/DBTable.php
- https://plugins.trac.wordpress.org/browser/post-snippets/tags/4.0.19/src/PostSnippets/WPEditor.php
- https://plugins.trac.wordpress.org/browser/post-snippets/tags/4.1.1/src/PostSnippets/WPEditor.php
- https://plugins.trac.wordpress.org/browser/post-snippets/tags/4.1.1/src/PostSnippets/WPEditor.php
- https://plugins.trac.wordpress.org/browser/post-snippets/tags/4.1.1/src/PostSnippets/WPEditor.php
- https://plugins.trac.wordpress.org/browser/post-snippets/trunk/src/PostSnippets/DBTable.php
- https://plugins.trac.wordpress.org/browser/post-snippets/trunk/src/PostSnippets/WPEditor.php