Back to Codebase

Vulnerability Analysis Report

WordPress Core v1.5

Scan ID: SCAN-WORDPRESS-CORE-Xt5qIm • Hash: 92fb0c6d

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

Vulnerability Details

L39

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:39
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
- $cats_tmp = $wpdb->get_results("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY $sort");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L340

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:340
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
- $keys = $wpdb->get_col("
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L30

Potential SQL Injection in categories.php

CWE-89
File Location: wp-admin/categories.php:30
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
- $id_result = $wpdb->get_row("SHOW TABLE STATUS LIKE '$wpdb->categories'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L179

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:179
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
- $count = $wpdb->get_var("SELECT COUNT(post_id) FROM $wpdb->post2cat WHERE category_id = $category->cat_ID");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L409

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:409
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->query("UPDATE $wpdb->postmeta SET meta_key = '$mkey', meta_value = '$mvalue' WHERE meta_id = '$mid'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));