Back to Codebase

Vulnerability Analysis Report

WordPress Core v5.8.5

Scan ID: SCAN-WORDPRESS-CORE-7L2Om0 • Hash: d1f491a4

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

Vulnerability Details

L864

Potential SQL Injection in class-wp-debug-data.php

CWE-89
File Location: wp-admin/includes/class-wp-debug-data.php:864
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
- $server = $wpdb->get_var( 'SELECT VERSION()' );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L569

Potential SQL Injection in deprecated.php

CWE-89
File Location: wp-admin/includes/deprecated.php:569
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
- $this->results = $wpdb->get_col("SELECT DISTINCT($wpdb->users.ID)" . $this->query_from . $this->query_where . $this->query_orderby . $this->query_limit);
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L240

Potential SQL Injection in export.php

CWE-89
File Location: wp-admin/export.php:240
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 = 'page'" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L1526

Potential SQL Injection in class-wp-debug-data.php

CWE-89
File Location: wp-admin/includes/class-wp-debug-data.php:1526
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
- $rows = $wpdb->get_results( 'SHOW TABLE STATUS', ARRAY_A );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L267

Potential SQL Injection in deprecated.php

CWE-89
File Location: wp-admin/includes/deprecated.php:267
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_results( "SELECT * FROM $wpdb->users WHERE ID IN ($editable) ORDER BY display_name" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));