CVE-2026-1893 Overview
The Orbisius Random Name Generator plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the btn_label parameter of the orbisius_random_name_generator shortcode. All versions up to and including 1.0.2 are affected due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages that execute whenever a user accesses an injected page.
Critical Impact
Authenticated attackers can persistently inject malicious scripts that execute in the context of other users' browsers, potentially leading to session hijacking, credential theft, or defacement of WordPress sites.
Affected Products
- Orbisius Random Name Generator plugin for WordPress versions up to and including 1.0.2
- WordPress installations using the vulnerable plugin with Contributor-level or higher user access
- Sites utilizing the orbisius_random_name_generator shortcode functionality
Discovery Timeline
- 2026-02-11 - CVE-2026-1893 published to NVD
- 2026-02-11 - Last updated in NVD database
Technical Details for CVE-2026-1893
Vulnerability Analysis
This Stored Cross-Site Scripting vulnerability exists within the shortcode handler of the Orbisius Random Name Generator plugin. The root cause is the failure to properly sanitize user-supplied input in the btn_label parameter before rendering it in the page output. When a user with Contributor-level privileges or higher creates or edits content containing the orbisius_random_name_generator shortcode, they can supply malicious JavaScript code within the btn_label attribute. This malicious payload is stored in the WordPress database and subsequently executed in the browsers of any visitors who view the affected page.
The vulnerability is particularly concerning because it persists across page loads and affects all visitors to the compromised page, not just the attacker. This stored nature amplifies the potential impact compared to reflected XSS variants.
Root Cause
The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation). The plugin fails to implement proper input sanitization when processing the btn_label shortcode parameter and does not apply adequate output escaping when rendering this value in the HTML output. The vulnerable code can be found in orbisius-random-name-generator.php at line 112, where user input is processed without sufficient security controls.
Attack Vector
The attack is network-based and requires the attacker to have at least Contributor-level access to the WordPress site. The attacker crafts a malicious shortcode with JavaScript embedded in the btn_label parameter and publishes or saves content containing this shortcode. Once the content is live, any user viewing the page will have the malicious script execute in their browser context.
The attacker could leverage this vulnerability to steal session cookies, redirect users to phishing sites, modify page content, or perform actions on behalf of authenticated administrators visiting the page. For more technical details, see the WordPress Plugin Source Code and the Wordfence Vulnerability Analysis.
Detection Methods for CVE-2026-1893
Indicators of Compromise
- Presence of unexpected JavaScript code or HTML tags within post content using the orbisius_random_name_generator shortcode
- Unusual btn_label parameter values containing script tags, event handlers (e.g., onerror, onload), or encoded JavaScript
- Reports of unexpected browser behavior or redirects from users viewing specific pages
- Audit logs showing Contributors or Authors creating content with suspicious shortcode parameters
Detection Strategies
- Implement WordPress content scanning to identify posts containing suspicious shortcode attributes with JavaScript or HTML injection patterns
- Deploy Web Application Firewall (WAF) rules to detect and block XSS payloads in shortcode parameters
- Use SentinelOne Singularity to monitor for anomalous script execution patterns in browser contexts originating from WordPress pages
- Enable WordPress audit logging to track shortcode usage and content modifications by users with Contributor-level access
Monitoring Recommendations
- Review all content created by Contributor-level users for suspicious shortcode usage
- Monitor web server logs for unusual POST requests to wp-admin endpoints with encoded or obfuscated payloads
- Implement real-time alerting for pages containing newly added shortcodes with potentially malicious attributes
- Conduct periodic security scans of WordPress installations to identify vulnerable plugin versions
How to Mitigate CVE-2026-1893
Immediate Actions Required
- Update the Orbisius Random Name Generator plugin to a patched version if available
- Review and sanitize existing content that uses the orbisius_random_name_generator shortcode
- Temporarily disable the plugin if no patch is available and the functionality is not critical
- Audit user accounts with Contributor-level access and above for any suspicious activity
- Consider restricting shortcode usage to trusted Administrator accounts only
Patch Information
A patch has been released to address this vulnerability. Site administrators should update to the latest version of the Orbisius Random Name Generator plugin immediately. The fix implements proper input sanitization and output escaping for the btn_label parameter. Details of the changes can be found in the WordPress Change Log Entry.
Workarounds
- Disable the Orbisius Random Name Generator plugin until a patch can be applied
- Restrict Contributor and Author role capabilities to prevent shortcode insertion in posts
- Implement a content security policy (CSP) header to mitigate the impact of XSS attacks
- Use a WordPress security plugin with XSS filtering capabilities to sanitize shortcode output
# Example: Disable the plugin via WP-CLI
wp plugin deactivate orbisius-random-name-generator
# Verify the plugin is deactivated
wp plugin list --status=inactive | grep orbisius
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


