CVE-2026-8702
Deferred Deferred - Pending Action

Stored XSS in GBI To Print WordPress Plugin

Vulnerability report for CVE-2026-8702, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: Wordfence

Description

The GBI To Print plugin for WordPress is vulnerable to Stored Cross-Site Scripting in version 1.0 via the 'div' attribute of the 'gbitoprint' shortcode. This is due to insufficient output escaping in the gbi_toprint_shortcode() function, which concatenates the raw shortcode attribute value directly into an HTML attribute without applying esc_attr() or any other sanitization. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-07-06
AI Q&A
2026-05-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gbiprint gbito_print 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The GBI To Print plugin for WordPress version 1.0 contains a Stored Cross-Site Scripting (XSS) vulnerability. This occurs because the plugin's gbi_toprint_shortcode() function does not properly escape the 'div' attribute of the 'gbitoprint' shortcode. Specifically, it inserts the raw attribute value directly into an HTML attribute without using esc_attr() or any sanitization method. As a result, authenticated users with contributor-level access or higher can inject malicious scripts into pages, which will execute whenever any user views those pages.

Impact Analysis

This vulnerability allows attackers with contributor-level access or above to inject arbitrary web scripts into WordPress pages. These scripts execute in the context of users who visit the affected pages, potentially leading to unauthorized actions such as stealing session cookies, defacing content, redirecting users to malicious sites, or performing actions on behalf of users without their consent.

Detection Guidance

This vulnerability involves stored Cross-Site Scripting (XSS) via the 'div' attribute of the 'gbitoprint' shortcode in the GBI To Print WordPress plugin version 1.0. Detection involves identifying if any pages or posts contain the vulnerable shortcode with malicious script injections.

To detect this on your system, you can search your WordPress database for instances of the 'gbitoprint' shortcode containing suspicious or script-like content in the 'div' attribute.

  • Use a SQL query to search the wp_posts table for the shortcode usage, for example: SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[gbitoprint%div=%';
  • Look for suspicious script tags or JavaScript code within the 'div' attribute values in the shortcode.

Additionally, monitoring HTTP responses for unexpected script execution or unusual behavior on pages using this shortcode can help detect exploitation.

Mitigation Strategies

To mitigate this vulnerability, the immediate step is to update or remove the vulnerable GBI To Print plugin version 1.0 from your WordPress installation.

If an update or patch is available from the plugin developer, apply it promptly to ensure proper output escaping and sanitization.

Restrict contributor-level and higher user permissions to trusted users only, as the vulnerability requires authenticated users with contributor-level access or above to exploit.

Review and sanitize any existing content using the 'gbitoprint' shortcode to remove injected scripts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-8702. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart