Skip to main content

Instatic CVE-2026-103931

| EUVDEUVD-2026-127559 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-17 GitHub_M
8.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged editor account
  2. Delivery
    Store javascript: URL behind leading C0 control char
  3. Exploit
    Bypass isSafeUrl() guard, payload emitted raw
  4. Execution
    Admin opens page and activates element
  5. Persist
    Script runs same-origin in /admin canvas
  6. Impact
    Drive admin APIs: create owner, install plugin

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 (1) a low-privileged editor account holding site.content.edit (the built-in Client role), used to set a link/button href, image/video src, form action/redirectUrl, custom HTML attribute, markdown link/image, or faviconUrl containing a dangerous scheme prefixed by a leading C0 control character (U+0001-U+0008 or U+000E-U+001F; 26 reliably exploitable bytes), and (2) a privileged victim - an Owner or Admin - subsequently opening the affected page in the admin editor canvas and ACTIVATING the element (UI:R). The decisive enabling condition is that the admin editor canvas is a same-origin srcdoc iframe for which securityHeaders.ts deliberately sets no script-src, so a javascript: URL executes with /admin authority. Limiting factors: both an authenticated editor account and a privileged user interaction are mandatory. On the PUBLISHED site the impact is narrower and conditional - cspPlan.ts applies script-src 'none'/'self' which blocks javascript: URLs, and execution is only reachable on pages where frontendInjections.ts relaxes CSP to 'self' 'unsafe-inline' due to an inline script.

Impact

This is a genuine, well-substantiated high-severity issue rather than an inflated CVSS score. The provided CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, 8.7) is internally consistent with the mechanism: a low-privileged editor (PR:L) stores a URL-scheme filter bypass that executes with full admin authority (scope change S:C, C:H/I:H) only after an Owner/Admin opens and activates the element (UI:R). The attack is network-reachable and low-complexity to plant, but is NOT fully unauthenticated or zero-interaction - both an editor account and a privileged victim action are required, which meaningfully reduces real-world likelihood versus a drive-by RCE. No EPSS score and no KEV listing are present in the input, so there is no evidence of widespread or active exploitation; absence of EPSS/KEV is not itself a risk signal but means spread cannot be quantified. The GHSA advisory includes a detailed, verified proof of concept (a poc.sh exercising the real isSafeUrl() plus a browser reproduction confirming same-origin javascript: execution in the admin canvas); treat this as a credible public PoC reference, though the input does not formally flag it as confirmed weaponized exploit code. The vuln.today decision label is 'this_week', consistent with a patched, credibly-exploitable privilege-escalation XSS that is not an active-exploitation emergency. Net: real priority to patch promptly, bounded by the editor-account + privileged-interaction prerequisites.

Exploit ScenarioDerived

A low-privileged Client/editor sets a link href or custom HTML attribute to a dangerous URL hidden behind a leading C0 control character (e.g. \x01javascript:...), which isSafeUrl() wrongly reports as safe and emits verbatim. When an Owner or Admin later opens that page in the same-origin admin editor canvas and activates the element, the script runs with the victim's application authority and can drive admin APIs to read protected data, create an owner account, or install a plugin. A verified PoC demonstrating the bypass and same-origin admin-canvas execution is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Stored cross-site scripting in Instatic before 0.0.14 allows an authenticated low-privileged editor to hide a javascript:, vbscript:, or data: URL behind a leading C0 control character in URL-bearing content fields, bypassing the isSafeUrl() guard. When an Owner or Admin later activates the affected element in the same-origin admin editor canvas, the URL executes with /admin authority and can call admin APIs to read protected data, create an owner account, or install a plugin. A public proof-of-concept accompanies the advisory and the reporter documents browser-verified execution in a reproduced admin-origin CSP harness; no CISA KEV entry is present in the supplied data.

RemediationAI

Vendor-released patch: 0.0.14. Upgrade Instatic to 0.0.14, which replaces the isSafeUrl() denylist with a WHATWG-aligned scheme allowlist and consolidates the duplicated URL guards; the fix is referenced through PR #275 and commit d97cac231e759d5ca445617193e53243d970b629, with the release at https://github.com/CoreBunch/Instatic/releases/tag/v0.0.14 and the advisory at https://github.com/CoreBunch/Instatic/security/advisories/GHSA-pqcp-872g-gmp8. If immediate upgrade is not possible, the advisory recommends setting a real script-src policy on /admin as defence in depth, which would contain this bug class rather than this single bypass; test the policy against the admin SPA first because adding script-src can break admin UI scripts that currently rely on the deliberately absent policy. Published-site CSP should not be treated as complete protection because frontendInjections.ts relaxes script-src to 'self' 'unsafe-inline' on pages carrying inline scripts.

Affected VersionsENISA

Instatic < 0.0.14

Affected Packages

euvd instatic fix: 0.0.14

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 flaw is a URL-scheme parsing mismatch in src/core/html-sanitize/index.ts. isSafeUrl() normalized input with .replace(/[\t\n\r]/g,'').trim(), but String.prototype.trim() does not remove U+0000-U+0008 or U+000E-U+001F, whereas the WHATWG URL parser discards all leading C0 controls U+0000-U+001F plus space before reading a scheme; an attacker using one of 26 reliably exploitable prefixes therefore gets a 'safe' result from the guard while the browser resolves javascript:. This is CWE-79 stored XSS enabled by CWE-184 incomplete disallowed-input list. The same predicate gates url/image/media props in escapeProps.ts, custom HTML attributes, markdown link/image href/src, faviconUrl, and base module safeUrl(); the advisory also notes two other divergent URL guards, including a plugin-SDK safeUrl defeated by a leading space and missing data:. The admin editor canvas is a same-origin srcdoc iframe with no script-src in securityHeaders.ts, so execution reaches /admin authority; published-site CSP sets script-src 'none'/'self' and blocks the payload, except pages where frontendInjections.ts relaxes to 'self' 'unsafe-inline' for inline scripts. The fix in 0.0.14 replaces the denylist with an allowlist (http, https, mailto, tel, sms, relative forms) and consolidates the guards.

Know when Instatic 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

Vendor (GitHub_M) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

Low-privileged editor plants the payload (PR:L, AC:L) but a privileged admin must activate it (UI:R), and execution crosses from editor to full admin authority (S:C, C:H/I:H); no availability impact (A:N).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 17, 2026 - 22:04 EUVD
CVE Published
Nov 17, 2026 - 21:17 cve.org
HIGH 8.7

DescriptionCVE.org

Instatic is an open source visual content management system for building static websites. Prior to 0.0.14, isSafeUrl() and safeUrl() in src/core/html-sanitize/index.ts remove tabs, newlines, carriage returns, and characters handled by String.prototype.trim(), but leave other leading C0 control characters that browsers discard before parsing a URL scheme. A low-privileged editor can place a dangerous URL behind one of those controls in a URL property or custom HTML attribute, allowing src/core/publisher/escapeProps.ts and the shared URL sanitizer to emit it into rendered content. When an Owner or Admin activates the element in the same-origin admin editor canvas, script executes with the victim's application authority and can drive admin APIs to read protected data, create an owner account, or install a plugin. This issue is fixed in version 0.0.14.

Technical POC Analysis

CWE-79 (stored XSS), realised through CWE-184 (incomplete list of disallowed input).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Instatic CMS versions prior to 0.0.14 contain a stored cross-site scripting flaw that allows low-privileged editors to execute malicious scripts with administrator privileges, enabling data theft or system compromise. Leadership should prioritize remediation because trusted administrative users could unknowingly trigger attacks, risking sensitive data exposure and unauthorized changes.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Rare
obscure pre-1.0 open-source CMS, minimal production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy