Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.6.3

Scan ID: SCAN-WORDPRESS-CORE-TnPJjh • Hash: 60815949

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

Vulnerability Details

L23

Potential SQL Injection in admin-ajax.php

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

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

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

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

CWE-79
File Location: wp-admin/edit-comments.php:132
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
- <li <?php if ( 'list' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><?php _e('List View') ?></a></li>
+ echo esc_html("class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><?php _e('List 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:
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 name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
+ echo esc_html(wp_get_referer());
L58

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

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