Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.6

Scan ID: SCAN-WORDPRESS-CORE-pGCKO5 • Hash: 08419be8

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

Vulnerability Details

L23

Potential SQL Injection in admin-ajax.php

CWE-89
File Location: wp-admin/admin-ajax.php:23
Security Score:
90 / 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));
L94

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

CWE-79
File Location: wp-admin/edit-form-advanced.php:94
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
- <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview this Post'); ?></a>
+ echo esc_html(clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))));
L51

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

CWE-79
File Location: wp-admin/edit-link-categories.php:51
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']]);
L66

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

CWE-79
File Location: wp-admin/edit-link-categories.php:66
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="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
+ echo esc_html(attribute_escape(stripslashes($_GET['s'])));
L91

Cross-Site Scripting (XSS) in comment.php

CWE-79
File Location: wp-admin/comment.php:91
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);