AploSec / Disclosures / CVE-2026-142269
Omeka S through 4.2.1 Stored XSS via HTML Media Data
CVE-2026-142269 · published 2026-12-02
In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). No fixed release is listed yet.
Summary
CVE-2026-142269 affects Omeka S (Server) <= 4.2.1: Stored XSS via HTML Media Data (CWE-79). No fixed release is listed. CVSS 4.0 base score 5.1 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/omeka-s-through-4.2.1-stored-xss-via-html-media-data
- Vulnerable codehttps://github.com/omeka/omeka-s/blob/v4.2.1/application/src/Api/Adapter/MediaAdapter.php#L147-L149
- Vulnerable codehttps://github.com/omeka/omeka-s/blob/v4.2.1/application/src/Media/Ingester/Html.php#L44-L53
- Vulnerable codehttps://github.com/omeka/omeka-s/blob/v4.2.1/application/src/Media/Renderer/Html.php#L9-L14
- Fix commithttps://github.com/omeka/omeka-s/commit/434e0945c9263af32168fed5f8b97f3f4b4abf1c
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142269
- Severity
- Medium 5.1CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Omeka S
- Ecosystem
- Server
- Affected
- <= 4.2.1
- Fixed
- None
- Weakness
- CWE-79
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder