CVE-2025-12524
MEDIUM
5.4
CVSS 3.1
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.
Affected WordPress components
-
Post Type Switcher Plugin · post-type-switcherUp to and including 4.0.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- johnjamesjacoby Post Type Switcher — Up to and including 4.0.0
References
- cwe.mitre.org https://cwe.mitre.org/data/definitions/639.html
- owasp.org https://owasp.org/API-Security/editions/2023/en/0xa1-broken-object-level-authorization/
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/post-type-switcher/tags/4.0.0/post-type-switcher.php#L469
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/post-type-switcher/tags/4.0.0/post-type-switcher.php#L486
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3391983%40post-type-switcher%2Ftrunk&old=3331072%40post-type-switcher%2Ftrunk&sfp_email=&sfph_mail=
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/d875514c-c7d3-4236-842b-6e772048448d?source=cve
- nvd.nist.gov Official NVD record