Skip to main content

Omeka S CVE-2026-142269

| EUVDEUVD-2026-141561 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 VulnCheck GHSA-6qvj-qr3v-qv9p
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain author/editor account
  2. Delivery
    Create HTML media via API omitting top-level html key
  3. Exploit
    Markup in data.html bypasses HTMLPurifier
  4. Execution
    Admin or visitor renders the media
  5. Impact
    Script executes in victim browser context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Omeka S account with media-creation permission (e.g. author or editor role) and access to the Omeka S API. The specific trigger is creating an HTML media item whose payload is placed in data.html while the request omits the top-level 'html' key, which causes the Html ingester to skip the HTMLPurifier call (it only purified when isset($data['html']) was true) and store raw markup. Exploitation is limited by: the need for a valid low-privileged account (PR:L), and the requirement that a victim such as a global administrator subsequently view the rendered HTML media (UI:P). It affects Omeka S versions through 4.2.1 in default configuration - no special server configuration is needed beyond having untrusted authoring users.

Impact

This is a medium-severity stored XSS (CVSS 4.0 base 5.1) that is a real but bounded issue rather than an emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms network reach and low attack complexity but requires an authenticated account (PR:L) and passive victim interaction (UI:P), which caps impact at Low across confidentiality and integrity with a scope change (SC:L/SI:L) reflecting that a low-privileged author/editor can target higher-privileged global administrators. No EPSS score, no CISA KEV listing, and no SSVC decision data were supplied, so there is no public-exploitation or automatability signal to elevate urgency; the vendor/aggregator priority label is 'this_month' (not act_now/emergency), consistent with a patch-this-cycle posture. The key limiting factor - the attacker must already hold media-creation permission - means this is a privilege-escalation-via-XSS risk inside multi-author instances rather than a remote-unauthenticated mass-exploitation threat. Net: a legitimate priority for patching where untrusted authors/editors exist, but not a drop-everything issue given the authentication requirement and absence of exploitation indicators.

Exploit ScenarioDerived

A user holding only author or editor rights uses the Omeka S API to create an HTML media item, omitting the top-level 'html' key so the markup embedded in data.html is never passed through HTMLPurifier, and plants a script payload. When a global administrator (or any visitor) later views that media, the script executes in their browser session, enabling actions in the admin's context. No public exploit code is identified; the attack requires an existing low-privileged authenticated account and that a victim view the content.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Stored cross-site scripting in Omeka S through 4.2.1 lets an authenticated user who holds media-creation permission (author or editor role) persist arbitrary markup that is later rendered to other users, including global administrators. The bypass works because the HTML media ingester only ran HTMLPurifier when a top-level 'html' key was present in the API payload; submitting the payload with the markup inside data.html and no top-level 'html' key stores the raw markup instead. The fix is committed upstream (434e0945c9263af32168fed5f8b97f3f4b4abf1c); no public exploit code has been identified at time of analysis, and the vulnerability requires a valid low-privileged account plus a victim viewing the crafted media item.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit 434e0945c9263af32168fed5f8b97f3f4b4abf1c (https://github.com/omeka/omeka-s/commit/434e0945c9263af32168fed5f8b97f3f4b4abf1c), which makes the HTML ingester always purify the incoming value and store only the sanitized data, and upgrade to a tagged release containing it as soon as one is published; until then, note that existing media items already stored with unsanitized data.html markup are not retroactively cleaned by the code change and should be reviewed. Because exploitation requires an account with media-creation rights and API access, a temporary compensating control is to restrict the author and editor roles (or API write access to the media endpoint) to users who are trusted with raw HTML authoring; the trade-off is that legitimate contributors lose the ability to create HTML media items during the restriction window. Per the vendor advisory (https://www.vulncheck.com/advisories/omeka-s-through-4.2.1-stored-xss-via-html-media-data), the code-level fix is the complete remediation; priority is this_month rather than emergency handling, since no public exploit code has been identified at time of analysis.

Affected VersionsENISA

Omeka S 0 ≤4.2.1

Affected Packages

euvd omeka_s no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Omeka S is a PHP/Zend-based open-source web publishing platform for cultural heritage collections, and its media subsystem handles several ingester types, including an HTML ingester that accepts author-supplied markup. The flaw is CWE-79 (improper neutralization of input during web page generation) arising from a logic gap rather than a missing sanitizer: in application/src/Media/Ingester/Html.php the purification step was wrapped in if (isset($data['html'])), so HTMLPurifier was invoked only when the caller supplied a top-level 'html' key. The media API adapter (MediaAdapter.php) passed the request data through unchanged, and the Html renderer (Renderer/Html.php) then emitted the stored value, meaning markup smuggled in under data.html reached the browser as live HTML. The upstream commit replaces the conditional with $html = $data['html'] ?? '' followed by unconditional purification and setData(['html' => $html]), so the sanitized value is always what gets persisted. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects a network-reachable, low-privilege, user-interaction-dependent issue with scope change, because script executes in the context of a higher-privileged viewer's session.

Know when Omeka gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated author/editor (PR:L) stores script over the network (AV:N/AC:L); a victim must view the media (UI:R); it executes in another user's/admin's context, so S:C with low C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche open-source publishing platform used mainly by libraries, museums, archives
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Omeka

View all
CVE-2023-4159 HIGH POC
8.8 Aug 04

Unrestricted Upload of File with Dangerous Type in GitHub repository omeka/omeka-s prior to 4.0.3. Rated high severity (

CVE-2014-5100 MEDIUM POC
6.8 Jul 25

Multiple cross-site request forgery (CSRF) vulnerabilities in Omeka before 2.2.1 allow remote attackers to hijack the au

CVE-2023-4560 MEDIUM POC
6.5 Aug 28

Improper Authorization of Index Containing Sensitive Information in GitHub repository omeka/omeka-s prior to 4.0.4. Rate

CVE-2021-26799 MEDIUM POC
6.1 Jul 23

Cross Site Scripting (XSS) vulnerability in admin/files/edit in Omeka Classic <=2.7 allows remote attackers to inject ar

CVE-2023-4158 MEDIUM POC
5.4 Aug 04

Cross-site Scripting (XSS) - Stored in GitHub repository omeka/omeka-s prior to 4.0.3. Rated medium severity (CVSS 5.4),

CVE-2023-3981 MEDIUM POC
4.9 Jul 27

Server-Side Request Forgery (SSRF) in GitHub repository omeka/omeka-s prior to 4.0.2. Rated medium severity (CVSS 4.9),

CVE-2023-4561 MEDIUM POC
4.8 Aug 28

Cross-site Scripting (XSS) - Stored in GitHub repository omeka/omeka-s prior to 4.0.4. Rated medium severity (CVSS 4.8),

CVE-2023-4157 MEDIUM POC
4.8 Aug 04

0.3. Rated medium severity (CVSS 4.8), this vulnerability is remotely exploitable, low attack complexity. Public exploit

CVE-2023-3982 MEDIUM POC
4.8 Jul 27

Cross-site Scripting (XSS) - Stored in GitHub repository omeka/omeka-s prior to 4.0.2. Rated medium severity (CVSS 4.8),

CVE-2023-3980 MEDIUM POC
4.8 Jul 27

Cross-site Scripting (XSS) - Stored in GitHub repository omeka/omeka-s prior to 4.0.2. Rated medium severity (CVSS 4.8),

CVE-2018-13423 MEDIUM
6.1 Jul 07

admin/themes/default/items/tag-form.php in Omeka before 2.6.1 allows XSS by adding or editing a tag. Rated medium severi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy