Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107764 Overview
CVE-2026-107764 is a Stored DOM-Based Cross-Site Scripting vulnerability [CWE-79] in the SiteOrigin CSS plugin for WordPress. The flaw affects all versions up to and including 1.6.7. Unauthenticated attackers can inject arbitrary web scripts through the url (comment_author_url) parameter in the comment Website field. The injected payload executes when a user accesses the affected page. The vulnerability stems from insufficient input sanitization and output escaping combined with WordPress core's esc_url() behavior, which preserves HTML entity-encoded characters.
Critical Impact
Unauthenticated attackers can inject persistent JavaScript into WordPress pages, enabling session theft, administrative action hijacking, and site compromise through crafted comment Website URLs.
Affected Products
- SiteOrigin CSS plugin for WordPress, all versions through 1.6.7
- WordPress sites with the plugin active and comments enabled
- Pages rendered through the plugin's inspector.js sink
Discovery Timeline
- 2026-10-16 - CVE-2026-107764 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-107764
Vulnerability Analysis
The vulnerability is a Stored DOM-Based Cross-Site Scripting flaw triggered through the comment author URL field. Attackers submit a crafted URL containing HTML entity-encoded characters as a comment Website value. WordPress stores the value after processing it with esc_url(), which does not decode HTML entities. The stored payload later reaches a client-side sink in the plugin's inspector.js script. The browser DOM-decodes the entity-encoded characters into executable markup at the sink location.
The root issue combines a server-side sanitization gap with an unsafe client-side sink. Entity-encoded content survives the server pipeline intact. On the client, the sink assigns the stored value into a context where the browser parses it as HTML. This chain converts stored text into executed script without any authentication requirement.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. WordPress esc_url() preserves HTML entity-encoded characters rather than stripping or re-encoding them for a DOM context. The SiteOrigin CSS plugin then inserts the stored comment author URL into the DOM through a sink in inspector.js without additional context-aware escaping. Entity-decoded output becomes active HTML and JavaScript. See the vulnerable sink at WordPress Inspector.js File.
Attack Vector
An unauthenticated attacker submits a comment on a target WordPress site and places an entity-encoded JavaScript payload in the Website field. The payload passes through esc_url() with its encoded characters intact and is persisted to the database. When an authenticated user, including an administrator, loads a page that invokes the plugin's inspector functionality, the browser decodes the entities and executes the embedded script in the victim's browser context. Relevant code paths are referenced in WordPress so-css.php Line 69 and WordPress so-css.php Line 899.
// No verified exploit code is published for CVE-2026-107764.
// Refer to the Wordfence advisory and plugin source references
// for additional technical analysis of the sink and payload shape.
Detection Methods for CVE-2026-107764
Indicators of Compromise
- Comment records where comment_author_url contains HTML entity-encoded sequences such as &#x, &#, or encoded <script> fragments.
- Unexpected outbound requests from administrator browsers after loading posts with comments.
- Modifications to WordPress user accounts, options, or plugin settings shortly after an admin viewed a commented page.
- Browser console errors or script executions sourced from stored comment author URL fields.
Detection Strategies
- Query the wp_comments table for comment_author_url values containing &#, javascript:, or non-standard URL schemes.
- Monitor web server logs for comment submissions from unauthenticated clients with suspicious URL payloads in the url field.
- Inspect pages rendered with the SiteOrigin CSS plugin for script tags or event handlers originating from author URL output.
Monitoring Recommendations
- Alert on WordPress administrative actions performed immediately after loading pages containing third-party comments.
- Track installations of SiteOrigin CSS at or below version 1.6.7 across managed WordPress estates.
- Review Content Security Policy violation reports for inline script execution tied to comment rendering.
How to Mitigate CVE-2026-107764
Immediate Actions Required
- Update the SiteOrigin CSS plugin to version 1.6.8 or later on all WordPress sites.
- Audit existing comments for comment_author_url values containing HTML entity-encoded payloads and remove or sanitize them.
- Rotate administrator credentials and session tokens if evidence of exploitation is found.
- Review recent administrative changes, newly created users, and modified plugin or theme files.
Patch Information
The vendor addressed the vulnerability in SiteOrigin CSS version 1.6.8. The code changes are visible in the GitHub Release Comparison. Additional analysis is available in the Wordfence Vulnerability Report.
Workarounds
- Deactivate the SiteOrigin CSS plugin until the update to version 1.6.8 is applied.
- Disable comments on posts and pages where the plugin's inspector functionality is used.
- Enforce a Content Security Policy that blocks inline script execution and restricts script sources.
- Place a web application firewall rule in front of the comment submission endpoint to reject URL fields containing HTML entity sequences.
# Update SiteOrigin CSS via WP-CLI on affected hosts
wp plugin update so-css --version=1.6.8
# Verify installed version
wp plugin get so-css --field=version
# Identify stored comments with entity-encoded author URLs
wp db query "SELECT comment_ID, comment_author, comment_author_url \
FROM wp_comments \
WHERE comment_author_url LIKE '%&#%' \
OR comment_author_url LIKE '%javascript:%';"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

