PatchSiren

garber CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM garber CVE published 2026-05-27

CVE-2026-8702

## Summary Stored Cross-Site Scripting (XSS) vulnerability in the GBI To Print WordPress plugin version 1.0, allowing authenticated contributors and above to inject arbitrary JavaScript via the 'div' shortcode attribute. ## Technical Details The vulnerability exists in the `gbi_toprint_shortcode()` function, which fails to apply `esc_attr()` or equivalent sanitization when outputting the 'div' shortcode attribute value directly into HTML. This permits injection of malicious scripts that execute when any user visits a page containing the crafted shortcode. ## Affected Product - **Product:** GBI To Print WordPress plugin - **Version:** 1.0 - **Vendor:** Unknown (identified via WordPress reference domain) ## CVSS Assessment - **Score:** 6.4 (MEDIUM) - **Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - **Attack Vector:** Network - **Attack Complexity:** Low - **Privileges Required:** Low (Contributor+) - **User Interaction:** None - **Scope:** Changed - **Impact:** Confidentiality Low, Integrity Low, Availability None ## Exploitation Requirements - **Authentication:** Required (Contributor-level or higher) - **User Interaction:** None required for execution (victim simply visits injected page) ## Defensive Recommendations 1. **Immediate:** Disable or remove the GBI To Print plugin until a patched version is available 2. **Code Review:** Audit all shortcode handlers for proper output escaping using `esc_attr()`, `esc_html()`, or `wp_kses()` 3. **Input Validation:** Implement strict allowlisting for shortcode attributes 4. **Monitoring:** Review existing content for unauthorized `[gbitoprint]` shortcode usage 5. **Principle of Least Privilege:** Restrict contributor access where unnecessary ## Timeline - **CVE Published:** 2026-05-27 - **Source Published:** 2026-05-27 - **Status:** Received (NVD) ## References - CVE Record: CVE.org - NVD Entry: NVD - Wordfence Advisory: Wordfence Threat Intelligence - Source Code Reference: WordPress Plugin Trac