{"schema":"threatline.record/2","record":{"id":"CVE-2026-55690","aliases":["GHSA-c29q-5xm7-5p62"],"summary":"StarCitizenWiki Extension Embed Video: Stored XSS via unsanitized service name in exception text","details":"### Summary\nWhen passing an unknown service name to embedvideo, an error message is rendered containing the invalid service name. The service name is not sanitized and can contain HTML.\n\n### Details\nThere is a hardcoded list of allowed services in a switch statement inside `EmbedServiceFactory#newFromName` [here](https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/a573a16d925ee0ea0d34b360856dc8ab0b88f822/includes/EmbedService/EmbedServiceFactory.php#L105). When the service name is not known, an exception is thrown with the service name injected into the message via sprintf [here](https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/a573a16d925ee0ea0d34b360856dc8ab0b88f822/includes/EmbedService/EmbedServiceFactory.php#L286). This message is not sanitized and is marked as isHtml [here](https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/a573a16d925ee0ea0d34b360856dc8ab0b88f822/includes/EmbedVideo.php#L303-L311). Similarly with `{{evl:` [here](https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/a573a16d925ee0ea0d34b360856dc8ab0b88f822/includes/EmbedVideo.php#L177-L183).\n\n### PoC\n```\n// Must be on a page, not on ExpandTemplates\n{{#ev:<img src=x onerror=alert(document.domain)>|dQw4w9WgXcQ}}\n{{#evl:id=dummy|service=<img src=x onerror=alert(document.domain)>}}\n```\n\n### Impact\nStored XSS that allows arbitrary Javascript/HTML insertion on any page that a user can edit.  It requires no interaction and executes in the wiki origin for every visitor to the page.","categories":["Libraries & packages"],"product":"starcitizenwiki/embedvideo","vendor":"StarCitizenWiki","ecosystem":"composer","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-c29q-5xm7-5p62","source_modified_at":"2026-10-13T20:50:02Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"composer","name":"starcitizenwiki/embedvideo"},"range":"<= 4.0.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-55690","source_modified_at":"2026-09-15T19:45:29.252Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"mediawiki-extensions-EmbedVideo","vendor":"StarCitizenWiki","versions":[{"version":"< 4.1.0","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-c29q-5xm7-5p62","source_modified_at":"2026-09-10T03:50:55.301470284Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"Packagist","name":"starcitizenwiki/embedvideo","purl":"pkg:composer/starcitizenwiki/embedvideo"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"4.1.0"}],"type":"ECOSYSTEM"}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.3.0","3.4.0","3.4.1","3.4.2","3.4.3","4.0.0"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-c29q-5xm7-5p62","source_modified_at":"2026-10-13T20:50:02Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"composer","name":"starcitizenwiki/embedvideo"},"version":"4.1.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-c29q-5xm7-5p62","source_modified_at":"2026-09-10T03:50:55.301470284Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"Packagist","name":"starcitizenwiki/embedvideo","purl":"pkg:composer/starcitizenwiki/embedvideo"},"version":"4.1.0"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00492,"percentile":0.41367,"score_date":"2026-10-23"},"published_at":"2026-09-15T16:34:08.668Z","modified_at":"2026-10-13T20:50:02Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-c29q-5xm7-5p62","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-13T20:50:02Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55690","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-15T19:45:29.252Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-c29q-5xm7-5p62","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-10T03:50:55.301470284Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55690","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/security/advisories/GHSA-c29q-5xm7-5p62","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/commit/9215564bf28a0ceb40be550a55ab78efc0accc56","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/releases/tag/v4.1.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-c29q-5xm7-5p62","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-09-15T19:07:18.635076Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-13T20:50:02Z","content_hash":"832831b1241ff680c3c40c6a5f3da9fae56ef9f8b5b99bd9e933de6a7ab6b4fd"}}
