What’s Vulnerable › Vulnerabilities
CVE-2021-34654: Custom Post Type Relations <= 1.0 Reflected Cross-Site Scripting
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-16 · updated 2026-06-17
- Weakness: CWE-79
Description
The Custom Post Type Relations WordPress plugin is vulnerable to Reflected Cross-Site Scripting via the cptr[name] parameter found in the ~/pages/admin-page.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 1.0.
Affected products
- Custom Post Type Relations: through 1.0
References
- https://plugins.trac.wordpress.org/browser/custom-post-type-relations/trunk/pages/admin-page.php#L60
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-34654
- https://plugins.trac.wordpress.org/browser/custom-post-type-relations/trunk/pages/admin-page.php#L60
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-34654
Get alerted when CVE-2021-34654 or the next vulnerability affects your stack