CVE-2021-47982 WordPress Plugin WP-Paginate 2.1.3 Stored XSS via preset

Medium 5.1 Published Updated

Authenticated attackers can inject malicious scripts via the preset parameter, leading to stored XSS when administrators view settings.

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

What is CVE-2021-47982?

CVE-2021-47982 is a medium-severity cross-site scripting vulnerability in maxfoundry WP-Paginate, published on 8 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

WordPress Plugin WP-Paginate 2.1.3 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts by manipulating the preset parameter. Attackers can submit POST requests to the plugin settings page with script payloads in the preset parameter that are stored and executed when administrators view the settings.

Weakness: CWE-79

Which versions are affected by CVE-2021-47982?

How do I fix CVE-2021-47982?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47982 exists.

Sources

Also known as GHSA-8prr-62q3-84mp.

Is CVE-2021-47982 in your software?

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

Check your SBOMs for free