CVE-2026-1888
Stored XSS in Docus YouTube Playlist Plugin Allows Script Injection
Publication date: 2026-02-06
Last updated on: 2026-02-06
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordfence | docus | to 1.0.6 (inc) |
| wordfence | docus | 1.0.7 |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
The Docus β YouTube Video Playlist plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via the 'docusplaylist' shortcode in all versions up to and including 1.0.6. This vulnerability arises because the plugin does not sufficiently sanitize and escape user-supplied attributes in the shortcode.
Specifically, authenticated users with Contributor-level access or higher can inject arbitrary web scripts into pages using the shortcode. These scripts then execute whenever any user accesses the injected page, potentially compromising site security.
How can this vulnerability impact me? :
This vulnerability allows authenticated users with Contributor-level access or above to inject malicious scripts into WordPress pages via the 'docusplaylist' shortcode. When other users visit these pages, the injected scripts execute in their browsers.
- Execution of arbitrary JavaScript code in users' browsers.
- Potential theft of user session cookies or credentials.
- Defacement or unauthorized modification of website content.
- Possible redirection to malicious websites or phishing pages.
- Compromise of user trust and site reputation.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': "This vulnerability involves Stored Cross-Site Scripting (XSS) via the 'docusplaylist' shortcode in the Docus WordPress plugin versions up to 1.0.6. Detection involves identifying if your WordPress site uses the vulnerable plugin version and if any pages contain injected scripts via the shortcode."}, {'type': 'paragraph', 'content': 'To detect exploitation attempts or presence of the vulnerability, you can:'}, {'type': 'list_item', 'content': 'Check if the Docus plugin version is 1.0.6 or earlier.'}, {'type': 'list_item', 'content': 'Search your WordPress pages or posts for the shortcode [docusplaylist] containing suspicious or unexpected script tags or JavaScript code.'}, {'type': 'list_item', 'content': 'Use WordPress CLI or database queries to find posts with the shortcode containing suspicious content.'}, {'type': 'paragraph', 'content': 'Example commands:'}, {'type': 'list_item', 'content': "Using WP-CLI to search posts for suspicious shortcode usage: wp post list --post_type=page,post --field=ID | xargs -I % wp post get % --field=post_content | grep -i '\\[docusplaylist.*<script'"}, {'type': 'list_item', 'content': "Direct database query to find posts with suspicious shortcode content (replace wp_ with your table prefix): SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[docusplaylist%' AND post_content LIKE '%<script%';"}, {'type': 'list_item', 'content': 'Monitor web server logs for unusual requests or payloads targeting pages with the shortcode or attempts to inject scripts.'}] [1, 3, 4]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include:
- Update the Docus plugin to version 1.0.7 or later, where the vulnerability is fixed by improved sanitization and escaping of user inputs and outputs.
- Restrict Contributor-level and higher user permissions to trusted users only, as exploitation requires authenticated users with at least Contributor access.
- Review and clean any injected scripts or malicious content in pages or posts using the [docusplaylist] shortcode.
- Implement Web Application Firewall (WAF) rules to block common XSS payloads targeting the shortcode.
- Ensure that all user inputs and shortcode attributes are sanitized and escaped properly, as done in the patched version.