Medium severity · published Oct 20, 2023
CVE-2023-5086
Copy Anything to Clipboard <= 2.6.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
5.4
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code · clipboardagency
through 2.6.4 · source: vendor
CA
Copy Anything TO Clipboard · Maheshwaghmare
before 2.6.5 · source: NVD
Affected product
CA
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
clipboardagency
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-5086
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-5086
Patch
https://plugins.trac.wordpress.org/browser/copy-the-code/tags/2.6.4/classes/class-copy-the-code-shortcode.php#L83
Patch
https://plugins.trac.wordpress.org/changeset/2969441/copy-the-code#file1
Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/e834a211-ccc8-4a30-a15d-879ba34184e9?source=cve
