CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-91110

CVE-2026-91110: Stored Cross-Site Scripting via URL Sanitisation Bypass in Silverstripe Framework

Alon Barad
Alon Barad
Software Engineer

Dec 4, 2026·9 min read·9 visits

Executive Summary (TL;DR)

Silverstripe Framework prior to 6.2.13 fails to normalize ASCII control characters when inspecting HTML URI attributes (`href`, `src`, `lowsrc`, `data`) in `XssSanitiser`. An authenticated user with content authoring privileges can prepend or interleave control bytes (such as `\x01` or `\x7F`) in a `javascript:` URL to bypass the sanitiser and achieve stored Cross-Site Scripting.

A stored Cross-Site Scripting (XSS) vulnerability exists in Silverstripe Framework versions prior to 6.2.13 within the HTML sanitisation engine (SilverStripe\Core\XssSanitiser). The sanitiser fails to strip or normalize non-printable ASCII C0 control characters and DEL bytes prior to evaluating URI attributes against scheme-blocking regular expressions. Because modern web browsers ignore these control bytes according to the WHATWG URL Standard, an authenticated CMS author can embed control bytes before or within a javascript: URI to bypass detection and execute arbitrary JavaScript in the browser context of users viewing the rendered content.

Vulnerability Overview

Silverstripe Framework (silverstripe/silverstripe-framework) is the underlying PHP application framework powering the Silverstripe Content Management System (CMS). In typical CMS deployments, authenticated content authors are permitted to submit rich text and HTML markup through administrative forms. To prevent persistent script injection, the framework processes submitted HTML through an internal filtering class located at SilverStripe\Core\XssSanitiser before storing or rendering the content.

CVE-2026-91110 (also tracked as GHSA-m5w3-5gq7-2crg) is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79. The flaw resides in how XssSanitiser validates HTML attributes capable of accepting URLs—specifically href, src, lowsrc, and data. When inspecting these attributes for dangerous URI schemes like javascript:, the sanitiser evaluates the raw attribute string directly against a regular expression without normalizing characters that downstream web browsers strip during URL parsing.

An authenticated attacker with low-level privileges (such as a CMS author) can exploit this parsing differential by inserting non-printable ASCII C0 control characters (e.g., 0x00–0x08, 0x0E–0x1F) or the delete byte (0x7F) before or inside the javascript: scheme identifier. The regular expression fails to match the obfuscated string, causing the sanitiser to leave the malicious attribute intact inside the persisted DOM element.

When another user, such as a site visitor or a high-privileged CMS administrator, views a page rendering the stored HTML, the victim's browser conforms to the WHATWG URL Standard by stripping the ignored control bytes prior to scheme resolution. Consequently, the browser interprets the attribute as a valid javascript: pseudo-protocol URI and executes the attacker's payload within the origin's security context.

Root Cause Analysis

The root cause of CVE-2026-91110 is a parser differential between the server-side regular expression engine in SilverStripe\Core\XssSanitiser and client-side URL parsers implemented by modern web browsers. In XssSanitiser, the private method stripAttributeContents(DOMElement $element) iterates over a hardcoded list of target attributes (lowsrc, src, href, data) and tests their values against a regular expression returned by getStripAttributeContentsRegex().

Under the WHATWG URL Standard, browsers executing the basic URL parser preprocess input strings by removing any leading and trailing C0 control or space characters, and subsequently stripping all ASCII tab or newline characters (0x09, 0x0A, 0x0D) as well as often ignoring non-printable C0 controls during HTML attribute tokenization and scheme extraction. Specifically, browsers discard bytes in the range 0x00 through 0x08, 0x0E through 0x1F, and 0x7F when resolving URI schemes inside DOM attributes.

While the scheme-detection regular expression in getStripAttributeContentsRegex() accounted for standard whitespace control characters (\x09 through \x0D, representing tab, line feed, vertical tab, form feed, and carriage return) by utilizing the \s metacharacter class, it did not account for non-whitespace C0 control characters or the 0x7F (DEL) byte. As a result, a sequence such as \x01javascript:alert(1) or ja\x01vascript:alert(1) failed to match the regular expression pattern in preg_match($regex, $attrContent).

A secondary technical issue compounded this vulnerability within the PCRE evaluation pipeline. Because the sanitiser's regular expressions utilize the /u (PCRE_UTF8) modifier, passing an attribute string containing malformed or invalid UTF-8 byte sequences causes PHP's preg_match() function to abort execution and return false (indicating an internal PCRE error such as PREG_BAD_UTF8_ERROR). In the vulnerable code path, a false return value from preg_match() is treated identically to 0 (no match), allowing an attacker to bypass the scheme check entirely if invalid UTF-8 sequences are tolerated by the underlying HTML parser.

Code Analysis

In versions of silverstripe/silverstripe-framework prior to 6.2.13, the stripAttributeContents() method retrieved the raw attribute string via $element->getAttribute($dangerAttribute) and passed it directly into preg_match():

// Vulnerable code in src/Core/XssSanitiser.php (prior to 6.2.13)
private function stripAttributeContents(DOMElement $element): void
{
    $regex = $this->getStripAttributeContentsRegex();
    foreach (['lowsrc', 'src', 'href', 'data'] as $dangerAttribute) {
        if ($element->hasAttribute($dangerAttribute)) {
            $attrContent = $element->getAttribute($dangerAttribute);
            // Flaw 1: $attrContent is not normalized to remove C0 control bytes.
            // Flaw 2: Invalid UTF-8 sequences cause preg_match with /u to return false.
            if (preg_match($regex, $attrContent)) {
                $element->removeAttribute($dangerAttribute);
            }
        }
    }
}

The security patch, introduced in commit dbf965166da909739a197c95b27dd9ee2fde93c9 (Pull Request #12038), resolves both vectors by passing the raw attribute value through a new helper method, normaliseAttributeContent(), prior to regex inspection:

// Patched code in src/Core/XssSanitiser.php (version 6.2.13+)
private function stripAttributeContents(DOMElement $element): void
{
    $regex = $this->getStripAttributeContentsRegex();
    foreach (['lowsrc', 'src', 'href', 'data'] as $dangerAttribute) {
        if ($element->hasAttribute($dangerAttribute)) {
            // Normalize a temporary copy of the attribute value for inspection
            $attrContent = $this->normaliseAttributeContent($element->getAttribute($dangerAttribute));
            if (preg_match($regex, $attrContent)) {
                $element->removeAttribute($dangerAttribute);
            }
        }
    }
}
 
private function normaliseAttributeContent(string $content): string
{
    // Step 1: Scrub invalid UTF-8 sequences so PCRE /u modifier does not fail open
    $content = mb_convert_encoding($content, 'UTF-8', 'UTF-8');
    // Step 2: Strip non-whitespace C0 control bytes (0x00-0x08, 0x0E-0x1F) and DEL (0x7F)
    return preg_replace('#[\x00-\x08\x0E-\x1F\x7F]#u', '', $content) ?? $content;
}

The fix operates on an ephemeral copy of the attribute string used strictly for detection. If the normalized string matches the blacklisted scheme pattern, $element->removeAttribute($dangerAttribute) removes the entire attribute from the DOMElement. If the attribute is benign, the original attribute value remains unmodified on the DOM node.

Analyzing fix completeness, the two-step normalization addresses both the control-character smuggling and the UTF-8 PCRE bailout condition. By invoking mb_convert_encoding($content, 'UTF-8', 'UTF-8') before running preg_replace(), any ill-formed UTF-8 byte sequence is replaced with the Unicode replacement character (U+FFFD), guaranteeing that subsequent /u PCRE operations execute deterministically without failing open. Furthermore, preserving 0x09–0x0D while stripping 0x00–0x08, 0x0E–0x1F, and 0x7F aligns the server-side inspection string with the character stripping performed by browser URL parsers.

Exploitation Methodology

Exploiting CVE-2026-91110 requires an authenticated session with sufficient privileges to create or edit HTML content fields processed by SilverStripe\Core\XssSanitiser (matching the PR:L CVSS metric). In a standard Silverstripe CMS environment, content authors and editors routinely interact with rich-text editors (such as TinyMCE) that submit raw HTML in HTTP POST requests to the backend.

To bypass client-side editor restrictions, an attacker typically intercepts the content-saving HTTP POST request using an intercepting proxy or submits a direct request to the CMS form endpoint. Within the HTML payload, the attacker injects an element containing one of the four monitored URI attributes (href, src, lowsrc, or data) populated with a javascript: URI obfuscated with C0 control characters.

The regression test suite added in commit dbf965166da909739a197c95b27dd9ee2fde93c9 (tests/php/Core/XssSanitiserTest.php) demonstrates five distinct attack vectors that successfully bypassed the unpatched sanitiser:

// Vector 1: Leading Start of Heading (SOH / 0x01) byte before javascript: scheme in an anchor tag
$payload1 = '<a href="' . "\x01" . 'javascript:alert(document.domain)">click me</a>';
 
// Vector 2: Control byte interleaved inside the scheme keyword
$payload2 = '<a href="ja' . "\x01" . 'vascript:alert(1)">click me</a>';
 
// Vector 3: Multiple C0 control bytes (STX 0x02, US 0x1F, ESC 0x1B) in an image tag
$payload3 = '<IMG SRC="' . "\x02\x1f\x1b" . 'javascript:alert(\'XSS\')">';
 
// Vector 4: ASCII Delete (DEL / 0x7F) byte preceding the scheme
$payload4 = '<IMG SRC="' . "\x7f" . 'javascript:alert(\'XSS\')">';
 
// Vector 5: Automatic execution via an iframe src attribute with a leading 0x01 byte
$payload5 = '<iframe src="' . "\x01" . 'javascript:alert(document.domain)"></iframe>';

Vector 5 (<iframe src="\x01javascript:..."></iframe>) is particularly notable because it explains the CVSS UI:N (User Interaction: None) rating. Unlike an <a href="..."> payload that requires a victim to click a link, an <iframe> with a javascript: src attribute executes immediately when the victim's browser loads and renders the page containing the stored markup, provided the <iframe> tag itself is permitted by the site's HTML allowlist configuration.

Impact Assessment

CVE-2026-91110 is assigned a CVSS v3.1 base score of 6.4 (Medium) with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. The attack is network-accessible (AV:N) with low attack complexity (AC:L), requiring no specialized timing or environmental prerequisites beyond a low-privileged CMS account (PR:L). The Scope is marked as Changed (S:C) because the vulnerable component is the server-side PHP web application, while the security impact manifests within the client-side browser execution environment.

When arbitrary JavaScript executes inside a victim's browser session, the attacker gains the ability to read sensitive data accessible within the Document Object Model (DOM), including non-HttpOnly cookies, CSRF tokens, and confidential administrative page content (C:L). Additionally, the script can issue authenticated asynchronous HTTP requests (fetch or XMLHttpRequest) to the Silverstripe backend on behalf of the victim, enabling unauthorized modification of CMS content, configuration settings, or user accounts (I:L).

In a horizontal or vertical privilege escalation scenario, a lower-privileged CMS author can store a malicious payload inside a draft page or shared content block reviewed by a CMS administrator. Once the administrator previews or opens the affected content in the browser, the injected script can silently invoke administrative endpoints to provision a new Super Admin account or elevate the attacker's existing account permissions.

From a threat intelligence standpoint, the Exploit Prediction Scoring System (EPSS) assigns CVE-2026-91110 a score of 0.00242 (16.49th percentile), indicating a low probability of widespread automated exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, primarily because exploitation requires prior authentication to the CMS backend.

Remediation and Mitigation

The definitive remediation for CVE-2026-91110 is to upgrade silverstripe/silverstripe-framework to version 6.2.13 or 6.3.0 (or later), which incorporates commit dbf965166da909739a197c95b27dd9ee2fde93c9. Administrators managing dependencies via Composer can apply the update using the following command:

composer update silverstripe/silverstripe-framework "^6.2.13"

> [!NOTE] > Upgrading the framework prevents new malicious payloads from bypassing XssSanitiser during content submission. However, if untrusted authors had access to the CMS prior to patching, administrators should audit existing database tables containing rich-text HTML fields (such as SiteTree_Live and SiteTree_Versions) for stored attributes containing C0 control bytes (0x00–0x08, 0x0E–0x1F, 0x7F).

For environments where an immediate framework upgrade cannot be deployed, defense-in-depth mitigations can reduce the risk and impact of exploitation:

  1. Content Security Policy (CSP): Deploy a strict Content-Security-Policy HTTP response header that restricts script execution to trusted origins or cryptographic nonces (e.g., Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-<random>'; object-src 'none';). When a browser enforces a CSP that excludes 'unsafe-inline', execution of javascript: pseudo-protocol URIs in href, src, and iframe attributes is blocked at the browser level even if the payload bypasses server-side HTML sanitisation.
  2. Web Application Firewall (WAF) Filtering: Configure upstream WAF rules to inspect incoming HTTP POST and PUT requests targeting CMS administrative endpoints (such as /admin/pages/EditForm) and block payloads containing raw or URL-encoded non-whitespace ASCII control bytes (%00–%08, %0E–%1F, %7F).
  3. Principle of Least Privilege: Restrict CMS author and editor roles strictly to trusted personnel and audit administrative activity logs for anomalous HTML modifications.

Official Patches

SilverstripeGitHub Security Advisory GHSA-m5w3-5gq7-2crg
SilverstripePatch Commit in silverstripe/silverstripe-framework
SilverstripeSilverstripe Framework 6.2.13 Release Tag
SilverstripeOfficial Silverstripe Security Release Advisory for CVE-2026-91110

Fix Analysis (1)

Technical Appendix

CVSS Score
6.4/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS Probability
0.24%
Top 84% most exploited

Affected Systems

Silverstripe Framework (silverstripe/silverstripe-framework) < 6.2.13Silverstripe CMS deployments utilizing affected framework versions

Affected Versions Detail

Product
Affected Versions
Fixed Version
silverstripe/silverstripe-framework
Silverstripe
< 6.2.136.2.13
AttributeDetail
Vulnerability TypeStored Cross-Site Scripting (XSS) via URL Sanitisation Bypass
CWE IDCWE-79 (Improper Neutralization of Input During Web Page Generation)
CVSS v3.1 Score6.4 Medium (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
Affected ComponentSilverStripe\Core\XssSanitiser::stripAttributeContents()
Attack VectorNetwork (Authenticated CMS Author injecting C0 control bytes in URI attributes)
EPSS Score0.24% (16.49th percentile)
Exploit StatusProof-of-Concept (Unit test vectors in patch commit)
Patched Versionsilverstripe/silverstripe-framework 6.2.13 / 6.3.0

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Collection
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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.

Known Exploits & Detection

GitHubUnit tests in XssSanitiserTest.php providing proof-of-concept payloads using C0 control characters and DEL bytes before and within javascript: URIs.

Vulnerability Timeline

Security patch committed to silverstripe/silverstripe-framework (commit dbf965166da909739a197c95b27dd9ee2fde93c9 via PR #12038).
2026-10-28
Silverstripe Framework version 6.2.13 released.
2026-11-16
GitHub Security Advisory GHSA-m5w3-5gq7-2crg and CVE-2026-91110 published.
2026-11-16
NVD and CVE.org records updated with CVSS v3.1 metrics.
2026-11-17
EPSS score assessed at 0.00242 (16.49th percentile).
2026-12-03

References & Sources

  • [1]GitHub Security Advisory GHSA-m5w3-5gq7-2crg
  • [2]Fix Commit dbf965166da909739a197c95b27dd9ee2fde93c9
  • [3]Silverstripe Framework Pull Request #12038
  • [4]Silverstripe Framework Release 6.2.13
  • [5]Silverstripe Security Release CVE-2026-91110
  • [6]NVD Entry for CVE-2026-91110
  • [7]CVE.org Record for CVE-2026-91110

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•36 minutes ago•CVE-2026-145367
7.7

CVE-2026-145367: Control Plane Nil Pointer Dereference and Crash-Loop DoS in Istio Ambient Mode

A denial-of-service vulnerability exists in the Istio Pilot control plane (istiod) when operating in ambient mesh mode. In versions 1.30.0 through 1.30.8, 1.31.0 through 1.31.4, and 1.32.0, creating a ServiceEntry with DNS or DNS_ROUND_ROBIN resolution attached to a waypoint proxy that resolves to zero endpoints causes buildCluster to return a nil pointer. The waypoint inbound cluster generation routine subsequently dereferences this nil pointer without validation, triggering an unhandled Go runtime panic that places all istiod replicas into a continuous crash-loop.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 2 hours ago•CVE-2026-144303
7.5

CVE-2026-144303: Denial of Service via Uncaught Exception in Node.js websocket-driver

CVE-2026-144303 (GHSA-mxfr-rg9v-vp3c) is a denial-of-service vulnerability affecting the websocket-driver package for Node.js prior to version 0.8.3. When a remote client sends WebSocket frame data concatenated in the same TCP segment as the initial HTTP Upgrade request headers, applications following the documented integration pattern pass the trailing byte buffer to driver.io.write() before calling driver.start(). Because internal protocol parser states and frame reader components are not initialized until driver.start() executes, attempting to parse early frame bytes triggers an unhandled TypeError, terminating the Node.js process.

Amit Schendel
Amit Schendel
3 views•9 min read
•about 4 hours ago•CVE-2026-137197
8.1

CVE-2026-137197: Command Injection on Windows in Node.js cross-spawn via Batch File Resolution Divergence

CVE-2026-137197 (GHSA-w3gc-668g-rf8f) is an OS command injection vulnerability (CWE-78) in the Node.js cross-spawn library affecting versions prior to 6.0.8 and 7.1.1 on Microsoft Windows. The flaw stems from parsing and resolution discrepancies between how cross-spawn identifies batch scripts (.bat and .cmd) and how Windows cmd.exe resolves target files. When a command string contains embedded double quotes, token delimiters, trailing whitespace, or relies on a child-specific PATHEXT environment variable, cross-spawn fails to detect that the target is a batch script and omits cmd.exe metacharacter escaping on user-supplied arguments, enabling arbitrary OS command execution.

Amit Schendel
Amit Schendel
8 views•13 min read
•about 8 hours ago•GHSA-6PPQ-9X26-5R92
5.3

GHSA-6ppq-9x26-5r92: Secret Retention Policy Bypass via Zero Expiry Override in Luzifer OTS

An input validation flaw in github.com/Luzifer/ots prior to version 1.21.8 allows unauthenticated remote attackers to bypass configured secret expiration policies. By supplying an expire=0 query parameter during secret creation, clients force the server to store secrets without a time-to-live (TTL) in both Redis and in-memory storage backends. This invalidates administrative data retention policies and permits unbounded storage consumption via unread secrets.

Alon Barad
Alon Barad
7 views•9 min read
•about 13 hours ago•CVE-2026-74871
6.2

CVE-2026-74871: Memory-Hard KDF Cost Bypass via Sequential-XOR Last-Stage Cancellation in openssl_encrypt

CVE-2026-74871 (also tracked as GHSA-vxf9-vwp6-2w43 and PYSEC-2026-3976) is a cryptographic composition vulnerability in the Python file encryption library openssl_encrypt affecting versions prior to 1.4.6. When generating keys under sequential XOR composition mode (format versions 8 and 10), the key derivation routine redundantly appends the final chain output to an accumulator that already contains the normalized output of the final derivation stage. Because bitwise XOR is self-inverting (A XOR A = 0), the final stage cancels itself out completely. When a single memory-hard key derivation function (such as Argon2id or Scrypt) is configured without preceding hash stages, the derived key collapses to an unhardened SHA-256(password || salt) digest, allowing offline password cracking at raw SHA-256 throughput.

Amit Schendel
Amit Schendel
15 views•12 min read
•about 14 hours ago•CVE-2026-142637
4.8

CVE-2026-142637: Query Logic Injection in Laravel Database Validation Rules

CVE-2026-142637 (GHSA-ch34-gjmh-c4hp) is a query logic injection vulnerability (CWE-943) in the Laravel framework prior to versions 12.73.0 and 13.43.0. When fluent database validation rules such as Rule::exists() or Rule::unique() are scoped using the scalar where() method, the framework serializes the rule object into its legacy comma-delimited string format and subsequently reparses it. During reparsing, the database presence verifier evaluates specific reserved tokens—'NULL', 'NOT_NULL', and values prefixed with '!'—as SQL predicates rather than literal values. If an application passes untrusted user input into a fluent where() scope, an attacker can supply these sentinel tokens to alter the SQL evaluation logic and bypass multi-tenant isolation or ownership validation.

Alon Barad
Alon Barad
8 views•11 min read