Back to Codebase

Vulnerability Analysis Report

WordPress Core v3.8.21

Scan ID: SCAN-WORDPRESS-CORE-LFtEDZ • Hash: a96b65a7

Severity Score
High
Total Findings
5
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.925s

Vulnerability Details

L50

Potential SQL Injection in class-wp-media-list-table.php

CWE-89
File Location: wp-admin/includes/class-wp-media-list-table.php:50
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $total_orphans = $wpdb->get_var( "SELECT COUNT( * ) FROM $wpdb->posts WHERE post_type = 'attachment' AND post_status != 'trash' AND post_parent < 1" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L109

Potential SQL Injection in class-wp-ms-sites-list-table.php

CWE-89
File Location: wp-admin/includes/class-wp-ms-sites-list-table.php:109
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $total = $wpdb->get_var( str_replace( 'SELECT *', 'SELECT COUNT( blog_id )', $query ) );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L40

Potential SQL Injection in class-wp-ms-users-list-table.php

CWE-89
File Location: wp-admin/includes/class-wp-ms-users-list-table.php:40
Security Score:
93 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $args['include'] = $wpdb->get_col( "SELECT ID FROM $wpdb->users WHERE user_login IN ('$logins')" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L168

Potential SQL Injection in export.php

CWE-89
File Location: wp-admin/export.php:168
Security Score:
92 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $authors = $wpdb->get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'post'" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L200

Potential SQL Injection in export.php

CWE-89
File Location: wp-admin/export.php:200
Security Score:
91 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $authors = $wpdb->get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'page'" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));