CVE-2025-13989
Description
The WP Dropzone plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'callback' shortcode attribute in all versions up to, and including, 1.1.1. This is due to insufficient input sanitization and output escaping on user-supplied 'callback' attributes, which are evaluated as JavaScript code via the `new Function()` constructor. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
WP Dropzone Plugin · wp-dropzoneUp to and including 1.1.1View 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
- nazsabuz WP Dropzone — Up to and including 1.1.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-dropzone/tags/1.1.1/includes/class-plugin.php#L303
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-dropzone/tags/1.1.1/js/wp-dropzone.js#L86
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-dropzone/trunk/includes/class-plugin.php#L303
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-dropzone/trunk/js/wp-dropzone.js#L86
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/23953909-4836-4226-b00b-eb0e24cc3ad7?source=cve
- nvd.nist.gov Official NVD record