What’s Vulnerable › Vulnerabilities

CVE-2023-6745: Custom Field Template <= 2.6.1 - Authenticated(Contributor+) Stored Cross-Site Scripting via shortcode

Description

The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'cpt' shortcode in all versions up to, and including, 2.6.1 due to insufficient input sanitization and output escaping on user supplied post meta. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Affected products

How to fix

Upgrade to a fixed version: hiroaki-miyashita Custom Field Template 2.6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-6745 or the next vulnerability affects your stack