Trash Duplicate and 301 Redirect Security & Risk Analysis

wordpress.org/plugins/trash-duplicate-and-301-redirect

Find and delete duplicates posts, pages, custom post type posts and set 301 redirect to the new or old URL.

1K active installs v1.9.1 PHP 7.0+ WP 5.4+ Updated Aug 12, 2025
delete-duplicateduplicatesfind-duplicatesfix-duplicatestrash-duplicate
73
B · Generally Safe
CVEs total2
Unpatched1
Last CVEDec 31, 2025
Safety Verdict

Is Trash Duplicate and 301 Redirect Safe to Use in 2026?

Mostly Safe

Score 73/100

Trash Duplicate and 301 Redirect is generally safe to use. 2 past CVEs were resolved. Keep it updated.

2 known CVEs 1 unpatched Last CVE: Dec 31, 2025Updated 7mo ago
Risk Assessment

The plugin "trash-duplicate-and-301-redirect" v1.9.1 presents a mixed security posture. On the positive side, the static analysis indicates a robust implementation of security best practices, with all identified entry points (AJAX handlers, REST API routes, shortcodes, cron events) appearing to have authorization checks. The plugin also demonstrates strong adherence to secure coding by using prepared statements for all SQL queries and having a very high percentage of properly escaped output. Nonce and capability checks are also present, further reinforcing its defensive measures.

However, there are significant concerns arising from the vulnerability history and specific code signals. The presence of two known CVEs, with one currently unpatched and categorized as high severity, is a major red flag. The common vulnerability type being "Missing Authorization" in the past, despite current indications of checks, suggests a history of insecurity that warrants extreme caution. Additionally, the use of the `unserialize` function, while not directly flagged as a taint flow issue in this analysis, is inherently risky as it can lead to code execution if the serialized data originates from an untrusted source.

In conclusion, while the current version of the plugin appears to have implemented many security best practices, the historical vulnerability record, particularly the unpatched high-severity issue, overshadows these strengths. The `unserialize` function also introduces a potential latent risk. Users should prioritize patching the known vulnerabilities and remain vigilant for any further security advisories. The plugin's previous authorization issues necessitate a high level of scrutiny.

Key Concerns

  • Unpatched high severity CVE
  • Uses unserialize function
  • History of missing authorization vulnerabilities
Vulnerabilities
2

Trash Duplicate and 301 Redirect Security Vulnerabilities

CVEs by Year

2 CVEs in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

High
1
Medium
1

2 total CVEs

CVE-2025-62122medium · 5.3Missing Authorization

Trash Duplicate and 301 Redirect <= 1.9.1 - Missing Authorization

Dec 31, 2025Unpatched
CVE-2024-13468high · 7.5Missing Authorization

Trash Duplicate and 301 Redirect <= 1.9 - Missing Authorization to Unauthenticated Arbitrary Post Deletion

Feb 18, 2025 Patched in 1.9.1 (178d)
Code Analysis
Analyzed Mar 16, 2026

Trash Duplicate and 301 Redirect Code Analysis

Dangerous Functions
2
Raw SQL Queries
0
21 prepared
Unescaped Output
9
330 escaped
Nonce Checks
16
Capability Checks
9
File Operations
0
External Requests
6
Bundled Libraries
0

Dangerous Functions Found

unserialize$returned_object = unserialize( wp_remote_retrieve_body( $response ) );trash-duplicates-admin.php:196
unserialize$returned_object = unserialize( wp_remote_retrieve_body( $response ) );trash-duplicates-admin.php:245

SQL Query Safety

100% prepared21 total queries

Output Escaping

97% escaped339 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

5 flows2 with unsanitized paths
tdrd_trash_pages (trash-duplicates-admin.php:1335)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Trash Duplicate and 301 Redirect Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_tdrd_submit_optintrash-duplicates.php:312
WordPress Hooks 21
actionplugins_loadedincludes\promo_notice.php:8
actionadmin_noticesincludes\promo_notice.php:23
actionadmin_initredirect_admin.php:271
actioninitredirect_client.php:43
actionadmin_menutrash-duplicates-admin.php:35
filterplugin_action_linkstrash-duplicates-admin.php:104
actionadmin_enqueue_scriptstrash-duplicates-admin.php:135
actionadmin_inittrash-duplicates-admin.php:1330
actionadmin_post_tdrd_bulk_actiontrash-duplicates-admin.php:1446
actioninittrash-duplicates.php:5
actioninittrash-duplicates.php:85
actionplugins_loadedtrash-duplicates.php:87
actionadmin_enqueue_scriptstrash-duplicates.php:119
actionplugins_loadedtrash-duplicates.php:120
actioncurrent_screentrash-duplicates.php:121
filterset-screen-optiontrash-duplicates.php:122
actionwp_dashboard_setuptrash-duplicates.php:130
filteradmin_footer_texttrash-duplicates.php:217
actionadmin_headtrash-duplicates.php:243
actionadmin_headtrash-duplicates.php:588
actionactivated_plugintrash-duplicates.php:590
Maintenance & Trust

Trash Duplicate and 301 Redirect Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 12, 2025
PHP min version7.0
Downloads108K

Community Trust

Rating86/100
Number of ratings36
Active installs1K
Developer Profile

Trash Duplicate and 301 Redirect Developer Profile

solwininfotech

7 plugins · 14K total installs

66
trust score
Avg Security Score
82/100
Avg Patch Time
642 days
View full developer profile
Detection Fingerprints

How We Detect Trash Duplicate and 301 Redirect

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/trash-duplicate-and-301-redirect/js/admin_script.js
Script Paths
wp-content/plugins/trash-duplicate-and-301-redirect/js/admin_script.js
Version Parameters
trash-duplicate-and-301-redirect/js/admin_script.js?ver=

HTML / DOM Fingerprints

CSS Classes
solwin-newsdisplay-productproduct-detailproduct-name
Data Attributes
data-titledata-thumbnaildata-linkdata-allproducttextdata-allproductlinkdata-moretext+6 more
FAQ

Frequently Asked Questions about Trash Duplicate and 301 Redirect