Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.0.3

Scan ID: SCAN-WORDPRESS-CORE-WesyQZ • Hash: 6e7b33fd

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

Vulnerability Details

L115

Potential SQL Injection in admin-db.php

CWE-89
File Location: wp-admin/admin-db.php:115
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
- $wpdb->query ("UPDATE $wpdb->categories SET cat_name = '$cat_name', category_nicename = '$category_nicename', category_description = '$category_description', category_parent = '$category_parent' WHERE cat_ID = '$cat_ID'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L230

Potential SQL Injection in admin-db.php

CWE-89
File Location: wp-admin/admin-db.php:230
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
- $wpdb->query("UPDATE $wpdb->posts SET post_author = {$reassign} WHERE post_author = {$id}");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L231

Potential SQL Injection in admin-db.php

CWE-89
File Location: wp-admin/admin-db.php:231
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
- $wpdb->query("UPDATE $wpdb->links SET link_owner = {$reassign} WHERE link_owner = {$id}");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L37

Potential SQL Injection in admin-db.php

CWE-89
File Location: wp-admin/admin-db.php:37
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
- $authors = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable)" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L209

Potential SQL Injection in admin-db.php

CWE-89
File Location: wp-admin/admin-db.php:209
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
- return $wpdb->get_var("SELECT cat_ID FROM $wpdb->categories WHERE category_nicename = '$category_nicename'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));