CVE-2026-12980 Post Snippets <= 4.2.4 - Contributor+ Stored XSS via Snippet Variable

Medium 6.8 Published Updated

Contributors can inject arbitrary scripts via snippet variables, leading to stored XSS when content is viewed.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-12980?

CVE-2026-12980 is a medium-severity cross-site scripting vulnerability in Unknown Post Snippets, published on 11 Oct 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Post Snippets WordPress plugin through 4.2.4 does not properly escape variable values substituted into snippets before outputting them, allowing users with the Contributor role and above to inject arbitrary web scripts that execute when the content is viewed.

Weakness: CWE-79

Which versions are affected by CVE-2026-12980?

How do I fix CVE-2026-12980?

No fix has been published for CVE-2026-12980 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-12980 being exploited?

There is no known exploitation of CVE-2026-12980 in the wild and no public exploit code.

Sources

Also known as GHSA-qq38-mwrv-h27q.

Is CVE-2026-12980 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free