
Proof-of-concept and technical write-up for CVE-2026-101162, a stored XSS in WP Ultimate Review <= 2.4.3 exploitable by Author-level users via unregistered post meta.
| Repository | CVE-2026-101162-xss-wp-ultimate-review |
| CVE | CVE-2026-101162 |
| WPScan advisory | Published 2026-10-01 (submission #51591) |
| Plugin | WP Ultimate Review |
| Affected versions | <= 2.4.3 |
| Fixed in | 2.4.4 |
| CVSS 3.1 (proposed) | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N = 6.4 (Medium) |
| CWE | CWE-79 (Improper Neutralization of Input During Web Page Generation) |
| Privilege required | Author (or any role with edit_post on the target post) |
| Researcher | Hasyros |
✅ Publicly published by WPScan on 2026-10-01 (advisory), fixed in 2.4.4. Per WPScan's disclosure policy, the full Proof-of-Concept — and this repository's technical write-up — are scheduled for public release on 2026-10-15, to give users time to update.
views/public/meta-box-author-review.php escapes the name field of a review-overview item with
esc_html() (line 67) but not the ratting/rat_range fields (lines 72/74) — an inconsistency
between two values drawn from the same array. The plugin's own admin writer does sanitize this data
(app/cpt.php:313, map_deep($_POST[...], 'sanitize_text_field')), but the underlying post meta key,
xs_review_overview_settings, is never registered via register_post_meta()/register_meta()
anywhere in the plugin. As a result, no sanitize_meta callback applies to WordPress core's own
meta-write paths — XML-RPC's wp.editPost (custom_fields) and the classic-editor Custom Fields
panel — which only enforce current_user_can('edit_post', $post_id), a capability an Author
holds on their own posts without needing unfiltered_html.
An Author can therefore write raw HTML (including a <script> payload) into this meta key through a
WordPress core mechanism that bypasses the plugin's own sanitizer entirely, and have it echoed
unescaped to every visitor of the post — including administrators.
See advisory/technical-details.md for the full write-up,
source-to-sink analysis, and reproduction steps. A ready-to-run script is provided in
exploit.py.
A low-privileged authenticated user (Author — the default role for content contributors, not an
elevated/admin-only capability) can persistently execute arbitrary JavaScript in the origin of the
WordPress site for any visitor of the affected post, including administrators. This bypasses core's
KSES filtering, which would normally block an Author from injecting <script> into post content —
the bypass works specifically because the sink is unregistered post meta, not post content.
Fixed in version 2.4.4. Recommended remediation (matching the general approach):
wrap $item_rate/$rate_range in esc_html() in
views/public/meta-box-author-review.php:72,74 (matching the existing safe pattern already used
for name on line 67), and register xs_review_overview_settings via register_post_meta() with
an explicit sanitization callback so every write path is constrained.
Discovered and reported by Hasyros.
This repository is published for vulnerability disclosure and educational purposes only. No warranty is provided. Do not use the contents against systems you do not own or have explicit written authorization to test.