Advisory

GHSA-c29q-5xm7-5p62

Also known as: CVE-2026-55690

Summary

StarCitizenWiki Extension Embed Video: Stored XSS via unsanitized service name in exception text

Details

Summary
When 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.

Details
There is a hardcoded list of allowed services in a switch statement inside EmbedServiceFactory#newFromName here. When the service name is not known, an exception is thrown with the service name injected into the message via sprintf here. This message is not sanitized and is marked as isHtml here. Similarly with {{evl: here.

PoC

// Must be on a page, not on ExpandTemplates
{{#ev:<img src=x onerror=alert(document.domain)>|dQw4w9WgXcQ}}
{{#evl:id=dummy|service=<img src=x onerror=alert(document.domain)>}}

Impact
Stored 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-19 21:14 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

starcitizenwiki/embedvideo

Packagist · All systems

Affected

  • introduced 0, fixed 4.1.0 (ecosystem)

Fixed versions

4.1.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences