# Duplicate Post <= 1.5.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Title in 'Copy of this post' Reference

- **ID:** WPSEC-2026-4378
- **Plugin:** Duplicate Post (`copy-delete-posts`), https://wordpress.org/plugins/copy-delete-posts/
- **Affected versions:** all versions before 1.5.9
- **Fixed in:** 1.5.9 (Update to 1.5.9 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/copy-delete-posts
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4378/

## Description

The Duplicate Post plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the original post's title in the 'Copy of this post' reference shown in the admin posts list in all versions up to, and including, 1.5.8. This is due to insufficient output escaping of the original post title and permalink, and to a tooltip that renders its title attribute as HTML. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts through a post title. The scripts execute when a user, such as an administrator, views the posts list containing a duplicate of that post.

## References

- https://wpsec.com/vuln/WPSEC-2026-4378/
- https://plugins.svn.wordpress.org/copy-delete-posts/tags/1.5.9/
- https://wordpress.org/plugins/copy-delete-posts/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4378/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
