PT-2026-56716 · WordPress · The Ultimate Post
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
The Ultimate Post versions prior to 5.0.32
Description
Stored Cross-Site Scripting occurs via the
moreResultsText block attribute of the ultimate-post/advanced-search block. The issue stems from insufficient input sanitization and output escaping within the Advanced Search::content() render callback. While the attribute value is filtered using wp kses(), which removes disallowed HTML tags, it fails to escape HTML special characters like double quotes. Consequently, the result is concatenated directly into the data-viewmoretext HTML attribute without using esc attr(). This allows authenticated attackers with contributor-level access or higher to inject arbitrary web scripts into pages that execute when a user visits the affected page.Recommendations
Update The Ultimate Post to version 5.0.32 or later.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
The Ultimate Post