CVE-2026-120081: Duplicate Post <= 1.5.7 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'prefix' Copy-Name Parameter
The Duplicate Post plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data[custom][names][prefix]' parameter in all versions up to, and including, 1.5.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the site owner to have enabled both 'User Level Permissions' for the Subscriber role and the 'Show reference to original item?' option, and the targeted administrator must view the edit screen of the chained copy post in the classic editor.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable “Show reference to original item?” to remove one of the stated prerequisites for exploitation.
Duplicate Post for WordPress Show reference to original item? = disabled
Event History
Frequently Asked Questions
Which sites are exposed to exploitation?
Sites running Duplicate Post version 1.5.7 or earlier are exposed only if Subscriber users are permitted through the plugin's User Level Permissions setting and the “Show reference to original item?” option is enabled. The attack also depends on an administrator opening the edit screen of a chained copy post in the classic editor.
What access does an attacker need?
An attacker needs an authenticated WordPress account with at least Subscriber-level access. They must be able to submit a malicious value through the copy-name prefix parameter when creating or working with a chained copy post.
What triggers the malicious script?
The injected script executes when a targeted administrator views the affected chained copy post's edit screen in the classic editor. The provided information does not indicate execution merely from viewing the public post.
What can be done if updating is not immediately possible?
Disable Subscriber access in the plugin's User Level Permissions configuration and disable the “Show reference to original item?” option. Restricting untrusted authenticated accounts also reduces the ability to supply the malicious parameter.