REPORT / 01
Analysis Report · Folder Analysis cache/user-submitted-posts_20251210 → cache/user-submitted-posts_20260110 — CVE-2026-0800
Shared security patch analysis results
02 ·
Lifecycle actions
cancel · resume · skip · regenerate
03 ·
Share this analysis
copy link · embed report
03 ·
CVE Security Analysis & Writeups
ai-generated · per cve
Comprehensive security analysis generated by AI for each confirmed CVE match. Click on a CVE to view the detailed writeup including vulnerability background, technical details, patch analysis, and PoC guide.
CVE-2026-0800
NVD
AI-Generated Analysis
05 ·
Findings
filter · search · paginate
Showing 0 to 0 of 0 results
library/core-functions.php
AI: 1 vulnerabilities
1 true positive
CVE-2026-0800
--- cache/user-submitted-posts_20251210/library/core-functions.php 2026-01-24 00:20:22.526346097 +0000+++ cache/user-submitted-posts_20260110/library/core-functions.php 2026-01-17 00:17:38.171057709 +0000@@ -272,11 +272,11 @@ $patterns[4] = "/%%title%%/"; $replacements = array();- $replacements[0] = $author;- $replacements[1] = $label;- $replacements[2] = $name;- $replacements[3] = $value;- $replacements[4] = $title;+ $replacements[0] = wp_kses_post($author);+ $replacements[1] = wp_kses_post($label);+ $replacements[2] = wp_kses_post($name);+ $replacements[3] = wp_kses_post($value);+ $replacements[4] = wp_kses_post($title); $markup = preg_replace($patterns, $replacements, $markup); @@ -323,11 +323,11 @@ $patterns[4] = "/%%title%%/"; $replacements = array();- $replacements[0] = $author;- $replacements[1] = $label;- $replacements[2] = $name;- $replacements[3] = $value;- $replacements[4] = $title;+ $replacements[0] = wp_kses_post($author);+ $replacements[1] = wp_kses_post($label);+ $replacements[2] = wp_kses_post($name);+ $replacements[3] = wp_kses_post($value);+ $replacements[4] = wp_kses_post($title); $markup = preg_replace($patterns, $replacements, $markup);
AI Analysis
Vulnerability Existed: yes
TRUE POSITIVE
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') - CWE-79 - library/core-functions.php lines 275-279, 326-330
Old Code:
```php
$replacements[0] = $author;
$replacements[1] = $label;
$replacements[2] = $name;
$replacements[3] = $value;
$replacements[4] = $title;
```
Fixed Code:
```php
$replacements[0] = wp_kses_post($author);
$replacements[1] = wp_kses_post($label);
$replacements[2] = wp_kses_post($name);
$replacements[3] = wp_kses_post($value);
$replacements[4] = wp_kses_post($title);
```
Explanation:
The original code directly inserted unsanitized user-submitted variables ($author, $label, $name, $value, $title) into HTML markup via string replacement without any sanitization. This created a Stored/Reflected Cross-Site Scripting (XSS) vulnerability where malicious HTML or JavaScript could be injected through these fields and executed in browsers. The fix applies `wp_kses_post()`, a WordPress sanitization function that strips dangerous HTML tags and attributes while preserving safe formatting, effectively preventing XSS attacks. This fix appears in two separate code blocks (around lines 275-279 and 326-330), suggesting the vulnerable pattern existed in multiple locations within the file.
CVE Analysis Results:
CVE-2026-0800: Yes
View CVE Description
The User Submitted Posts – Enable Users to Submit Posts from the Front End plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the custom fields in all versions up to, and including, 20251210 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Showing 1 to 1 of 1 results