CVE-2026-12980: Post Snippets WordPress plugin stored XSS via snippet variables

CVE-2026-12980 · Severity: medium · CVSS 6.8 · Published 2026-10-11

The Post Snippets WordPress plugin is used to insert reusable code snippets into posts and pages. Users with Contributor role and above can inject malicious scripts through snippet variables that execute when content is viewed, allowing account compromise or data theft for site visitors.

Technologies: Post Snippets. Vendors: Post Snippets.

Quick answers

Is CVE-2026-12980 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-12980 being exploited in the wild.
How severe is CVE-2026-12980?
Medium severity, with a CVSS score of 6.8, published 11 October 2026.
Which products and versions are affected?
Post Snippets through 4.2.4.
Is there a fix for CVE-2026-12980?
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-12980 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-12980?
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 plugin fails to properly escape variable values when substituting them into snippets before output, resulting in stored cross-site scripting (XSS). The vulnerability requires authentication with Contributor role or higher to inject the payload, which persists in the database and executes in the browser of any user viewing the affected content.

Affected products

  • Post Snippets Post Snippets through 4.2.4

Timeline

  • 2026-10-08: disclosed
  • 2026-10-11: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.