CVE-2026-5247 Cross-site scripting in Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories

Medium 5.5 Published Updated

Authenticated administrators can inject arbitrary scripts via the wrapper shortcode attribute, leading to stored XSS execution on victim pages.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5247?

CVE-2026-5247 is a medium-severity cross-site scripting vulnerability in Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories, published on 5 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Schedule Post Changes With PublishPress Future plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wrapper' attribute of the [futureaction] shortcode in all versions up to, and including, 4.10.0. This is due to insufficient input sanitization on the wrapper attribute. The plugin uses esc_html() to escape the value, but esc_html() only encodes HTML entities and does not prevent attribute injection when the value is used as an HTML tag name in a sprintf() call. An attacker can inject event handler attributes via spaces in the wrapper value. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Since it is also possible for administrators to make this functionality available to lower-privileged users, this introduces the possibility of abuse by contributors.

Weakness: CWE-79

Which versions are affected by CVE-2026-5247?

How do I fix CVE-2026-5247?

No fix has been published for CVE-2026-5247 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-5247 being exploited?

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

Sources

Also known as GHSA-p9xc-cphq-3q9h.

Is CVE-2026-5247 in your software?

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

Check your SBOMs for free