{"id":"CVE-2026-103931","summary":"Instatic: Stored XSS","details":"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.","aliases":["GHSA-pqcp-872g-gmp8"],"modified":"2026-11-18T21:00:44.791711264Z","published":"2026-11-17T21:17:15.394Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103931.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/CoreBunch/Instatic/releases/tag/v0.0.14"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103931.json"},{"type":"ADVISORY","url":"https://github.com/CoreBunch/Instatic/security/advisories/GHSA-pqcp-872g-gmp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103931"},{"type":"FIX","url":"https://github.com/CoreBunch/Instatic/commit/d97cac231e759d5ca445617193e53243d970b629"},{"type":"FIX","url":"https://github.com/CoreBunch/Instatic/pull/275"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/corebunch/instatic","events":[{"introduced":"0"},{"fixed":"d1f0942b1c1eb8842b032e6718bfbdabf25cd6d0"},{"fixed":"d97cac231e759d5ca445617193e53243d970b629"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.0.14"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"d97cac231e759d5ca445617193e53243d970b629"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v0.0.14","range":[{"fixed":"d1f0942b1c1eb8842b032e6718bfbdabf25cd6d0"}]}]}}],"versions":["v0.0.13","v0.0.12","v0.0.11","v0.0.10","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103931.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}