{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.2.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "434e0945c9263af32168fed5f8b97f3f4b4abf1c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "7e428a3296a399e21a6a6418578175ad8c7edf60"
            },
            {
              "fixed": "434e0945c9263af32168fed5f8b97f3f4b4abf1c"
            }
          ],
          "repo": "https://github.com/omeka/omeka-s",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142269.json"
  },
  "details": "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.",
  "id": "CVE-2026-142269",
  "modified": "2026-12-02T17:45:42.680569993Z",
  "published": "2026-12-02T16:49:28.922Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142269.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/omeka/omeka-s"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/omeka/omeka-s/blob/v4.2.1/application/src/Api/Adapter/MediaAdapter.php#L147-L149"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/omeka/omeka-s/blob/v4.2.1/application/src/Media/Ingester/Html.php#L44-L53"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/omeka/omeka-s/blob/v4.2.1/application/src/Media/Renderer/Html.php#L9-L14"
    },
    {
      "type": "FIX",
      "url": "https://github.com/omeka/omeka-s/commit/434e0945c9263af32168fed5f8b97f3f4b4abf1c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142269"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/omeka-s-through-4.2.1-stored-xss-via-html-media-data"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Omeka S through 4.2.1 Stored XSS via HTML Media Data"
}