Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttain or compromise contributor-level WordPress account
-
DeliveryInsert XSS payload into 'div' attribute of gbitoprint shortcode
-
ExploitPublish or update page containing malicious shortcode
-
ExecutionVictim user browses injected WordPress page
-
PersistStored script executes in victim's browser context
-
ImpactExfiltrate session cookies or perform actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold an authenticated WordPress account at contributor level or above (CVSS PR:L confirmed). The target WordPress site must have the GBI To Print plugin installed and activated in version 1.0 or below. The attacker must have the capability to create or edit posts and insert the 'gbitoprint' shortcode - contributor role users possess this by default in standard WordPress configurations. Exploitation is limited by the authentication barrier: unauthenticated external attackers cannot directly trigger the injection. The attack is further bounded to sites where at least one user with contributor access is either malicious or has had their account compromised. The payload executes only when a victim visits a page containing the injected shortcode, meaning the attacker cannot force immediate execution - they must wait for organic or socially engineered page visits. |
| Impact | The CVSS 3.1 base score of 6.4 (Medium) is consistent with the vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. Low attack complexity and network reachability are tempered by the requirement for at least contributor-level WordPress authentication (PR:L). The Changed scope (S:C) elevates the score beyond a simple contained XSS, as the injected script crosses the plugin's trust boundary into the victim's browser. The EPSS score of 0.03% at the 9th percentile indicates very low exploitation probability relative to the broader CVE population, suggesting this vulnerability is not currently being targeted at scale. There is no CISA KEV listing and no publicly known proof-of-concept at time of analysis. One notable data quality flag: the CVSS vector specifies UI:N (no user interaction required), which is atypical for stored XSS - such vulnerabilities ordinarily score UI:R because a victim must load the injected page to trigger execution. This may reflect a scoring choice where attacker action alone (publishing the page) is considered sufficient, but defenders should verify with Wordfence or the NVD entry. Real-world priority is moderate-low: exploitation requires an attacker to already hold a trusted WordPress account, making external threat actors dependent on prior credential compromise or account registration. |
| Exploit ScenarioDerived | An attacker who has obtained or registered a contributor-level WordPress account crafts a post containing the gbitoprint shortcode with a malicious payload embedded in the 'div' attribute - for example, injecting an event handler to exfiltrate the document.cookie of any visiting administrator. The attacker publishes the post; when a higher-privileged user (e.g., an administrator) subsequently browses to the page, the stored script executes silently in their browser, allowing the attacker to steal session tokens and escalate privileges to full site compromise. No proof-of-concept code has been identified at time of analysis, but the vulnerability is straightforward to exploit given the clear source code reference and well-understood XSS technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Stored Cross-Site Scripting in the GBI To Print WordPress plugin version 1.0 allows authenticated attackers with contributor-level access to inject persistent malicious scripts into WordPress pages via the unsanitized 'div' attribute of the 'gbitoprint' shortcode. The root cause is a direct concatenation of raw shortcode attribute input into HTML output inside gbi_toprint_shortcode() at gbitoprint.php line 86, with no call to esc_attr() or equivalent WordPress sanitization. Any site visitor loading a page containing the injected shortcode will execute the attacker-controlled script in their browser, enabling session theft, credential harvesting, or malicious redirects. No public exploit code has been identified at time of analysis, and EPSS signals low near-term mass exploitation probability.
RemediationAI
No vendor-released patch has been identified at time of analysis for GBI To Print version 1.0. Site administrators should immediately deactivate and remove the GBI To Print plugin until a patched release is published. As a compensating control, restrict the WordPress contributor role so that untrusted users cannot create or edit posts containing arbitrary shortcodes - this can be enforced via capability management plugins (e.g., Members or User Role Editor) by removing the 'edit_posts' capability from the contributor role, though this will prevent legitimate contributor publishing workflows. Additionally, a Web Application Firewall rule targeting XSS payloads in shortcode attributes (e.g., via Wordfence's built-in firewall or a CDN-layer WAF) can reduce exploitation surface. Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/28102544-3a33-4f15-af62-714e7dab42b7 and the WordPress plugin repository for a patched release, at which point upgrading immediately is the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the GBI To Print WordPress plugin (version 1.0 and below), specifically in the PHP function gbi_toprint_shortcode() defined at gbitoprint.php line 86. WordPress shortcodes accept user-supplied attributes which are then used to render HTML. The plugin takes the 'div' attribute value and concatenates it directly as an HTML attribute value without invoking WordPress's standard esc_attr() sanitization helper or any equivalent encoding. This is a textbook instance of CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting), subtype: Stored XSS. Because WordPress contributor-level users have the capability to insert shortcodes in posts and pages, they can craft a shortcode whose 'div' attribute contains a closing-quote sequence followed by an event handler (e.g., onmouseover) or a script injection. The payload is stored in the database and reflected to every subsequent visitor of the affected page, placing this firmly in the Stored (Persistent) XSS category with Changed scope (S:C) in CVSS terms, meaning the injected script runs in the victim's browser security context rather than the server's.
Know when WordPress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
EUVD-2026-32061
GHSA-www3-xfc6-4q8f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB