Vulnerabilities

Vulnerability · CVE-2026-7430

The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.0.19.

Published May 29, 2026 · catalog updated Jul 21, 2026 · The Post Snippets plugin

Check if you run it

No confirmed exploitation is on record for CVE-2026-7430. EPSS is 0.36%. Act only if a listed version of The Post Snippets plugin is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (The Post Snippets plugin).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium4.4
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.36%
Remediation
Version ranges on file
Affected products
stated named in the record

The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.0.19. This is due to insufficient output escaping of imported snippet content when rendering JavaScript variables in the post editor. Specifically, the method in embeds snippet content directly into JavaScript string literals without escaping double quotes (the quote-escaping code on line 214 is commented out). When snippets are imported via the Import/Export feature, the content bypasses WordPress's (which would otherwise add protective backslashes), allowing double quotes in snippet content to break out of the JavaScript string context. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts via a malicious import file that execute whenever any administrator accesses a post editor page. Please note that this does not affect single-site installations as administrators already have the capability.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • stated named in the record<= 4.0.19

How to fix CVE-2026-7430

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-7430. EPSS is 0.36%. Act only if a listed version of The Post Snippets plugin is installed.

Which versions are affected?

Compare what you have installed with named in the record <= 4.0.19. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-79: Cross-site Scripting (XSS). EPSS 0.36%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. May 29, 2026 · NIST NVD

    Detected

    The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.0.19. This is due to insufficient output escaping of imported snippet content when rendering JavaScript variables in the post editor. Specifically, the method in embeds snippet content directly into JavaScript string literals without escaping double quotes (the quote-escaping

  2. Jul 21, 2026 · NIST NVD

    Updated

    The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.0.19. This is due to insufficient output escaping of imported snippet content when rendering JavaScript variables in the post editor. Specifically, the method in embeds snippet content directly into JavaScript string literals without escaping double quotes (the quote-escaping

Sources

  • CVE.orgVulnerability recordCVE-2026-7430

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-7430

    30-day exploitation probability 0.4%

    first.org
  • NIST NVDVulnerability recordCVE-2026-7430

    The Post Snippets plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.0.19. This is due to insufficient output escaping of imported snippet content when rendering JavaScript variables in the post editor. Specifically, the `jqu

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.