What’s Vulnerable › Vulnerabilities

CVE-2023-5086: Copy Anything to Clipboard <= 2.6.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Description

The Copy Anything to Clipboard plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'copy' shortcode in versions up to, and including, 2.6.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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: clipboardagency Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code 2.6.5. Check the vendor advisory for mitigations.

References

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