BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2023-5086

MEDIUM 5.4 CVSS 3.1
Published
October 20, 2023
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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 WordPress components

  • Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code Plugin · copy-the-code
    Confirmed match Active
    Up to and including 2.6.4
    View 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

  • clipboardagency Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code — Up to and including 2.6.4
  • maheshwaghmare copy_anything_to_clipboard — Before 2.6.5

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/copy-the-code/tags/2.6.4/classes/class-copy-the-code-shortcode.php#L83 Patch
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2969441/copy-the-code#file1 Patch
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/e834a211-ccc8-4a30-a15d-879ba34184e9?source=cve Patch, Third Party Advisory
  • nvd.nist.gov Official NVD record