Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.6.1

Scan ID: SCAN-WORDPRESS-CORE-qAqe0p • Hash: 2afe4567

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

Vulnerability Details

L23

Potential SQL Injection in admin-ajax.php

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

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

CWE-79
File Location: wp-admin/edit-comments.php:131
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
- <li <?php if ( 'detail' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li>
+ echo esc_html("class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li>);
L97

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

CWE-79
File Location: wp-admin/edit-form-comment.php:97
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
- <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
+ echo esc_html(wp_get_referer());
L116

Cross-Site Scripting (XSS) in categories.php

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

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

CWE-79
File Location: wp-admin/edit-comments.php:222
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="page" value="<?php echo isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1; ?>" />
+ echo esc_html(isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1);