CVE-2025-12524 Post Type Switcher <= 4.0.0 - Insecure Direct Object Reference to Authenticated (Author+) Post Type Change

Medium 5.4 Published Updated

Authenticated attackers with Author access can modify post types of arbitrary posts they do not own, causing site disruption and SEO issues.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12524?

CVE-2025-12524 is a medium-severity missing authorization vulnerability in johnjamesjacoby Post Type Switcher, published on 18 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Post Type Switcher plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 4.0.0 due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Author-level access and above, to modify the post type of arbitrary posts and pages they do not own, including those created by administrators, which can lead to site disruption, broken navigation, and SEO impact.

Weakness: CWE-639

Which versions are affected by CVE-2025-12524?

How do I fix CVE-2025-12524?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-12524 being exploited?

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

Sources

Is CVE-2025-12524 in your software?

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

Check your SBOMs for free