Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.6.2

Scan ID: SCAN-WORDPRESS-CORE-Av0Hh2 • Hash: 8df707a9

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

Vulnerability Details

L23

Potential SQL Injection in admin-ajax.php

CWE-89
File Location: wp-admin/admin-ajax.php:23
Security Score:
89 / 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
- $results = $wpdb->get_col( "SELECT name FROM $wpdb->terms WHERE name LIKE ('%". $s . "%')" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L52

Cross-Site Scripting (XSS) in edit-link-categories.php

CWE-79
File Location: wp-admin/edit-link-categories.php:52
Security Score:
89 / 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
- <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
+ echo esc_html($messages[$_GET['message']]);
L96

Cross-Site Scripting (XSS) in edit-form-comment.php

CWE-79
File Location: wp-admin/edit-form-comment.php:96
Security Score:
88 / 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
- <input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" />
+ echo esc_html($comment->comment_post_ID ?>" />);
L116

Cross-Site Scripting (XSS) in categories.php

CWE-79
File Location: wp-admin/categories.php:116
Security Score:
87 / 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
- <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
+ echo esc_html($messages[$_GET['message']]);
L181

Cross-Site Scripting (XSS) in edit-comments.php

CWE-79
File Location: wp-admin/edit-comments.php:181
Security Score:
87 / 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
- <input type="hidden" name="apage" value="<?php echo absint( $_GET['apage'] ); ?>" />
+ echo esc_html(absint( $_GET['apage'] ));