CVE-2026-142269: Omeka S through 4.2.1 Stored XSS via HTML Media Data
Omeka S through 4.2.1 contains a stored cross-site scripting vulnerability that allows authenticated users with media creation permission to bypass HTMLPurifier by placing markup in data.html. Attackers such as authors or editors can create HTML media via the API without a top-level html key to execute script in browsers of visitors, including global administrators.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An authenticated Omeka S user with permission to create media can exploit it. The description specifically identifies author- or editor-level users as examples.
What is required to trigger the issue?
The attacker must create HTML media through the API and place malicious markup in data.html while omitting a top-level html key. A victim must then view the rendered HTML media in a browser.
Are administrators at risk?
Yes. Browsers of visitors who view the malicious media can execute the stored script, and the affected visitors can include global administrators.
Which releases are affected?
Omeka S through version 4.2.1 is affected.