drupal-contrib-2026-299

osv_packagist
Description

This module enables you to add syntax-highlighted code snippets to content using CKEditor 5. The module doesn't sufficiently validate input passed to its CKEditor 5 preview endpoint, leading to a reflected cross-site scripting (XSS) vulnerability.

Timeline
Published
unknown
Last Modified
unknown
CVSS Details

CVSS details not available.

Affected Products

No product information available.

References
Linked Vulnerabilities

No linked vulnerabilities found.

{
  "affected": [
    {
      "database_specific": {
        "affected_versions": "<1.3.1",
        "source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/highlight_js/DRUPAL-CONTRIB-2026-299.json"
      },
      "package": {
        "ecosystem": "Packagist:https://packages.drupal.org/8",
        "name": "drupal/highlight_js",
        "purl": "pkg:composer/drupal/highlight_js?repository_url=https:%2F%2Fpackages.drupal.org%2F8"
      },
      "ranges": [
        {
          "database_specific": {
            "constraint": "<1.3.1"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-122068"
  ],
  "credits": [
    {
      "contact": [
        "https://www.drupal.org/u/aangel"
      ],
      "name": "André Angelantoni (aangel)"
    },
    {
      "contact": [
        "https://www.drupal.org/u/mcdruid"
      ],
      "name": "Drew Webber (mcdruid)"
    }
  ],
  "details": "This module enables you to add syntax-highlighted code snippets to content using CKEditor 5.\n\nThe module doesn't sufficiently validate input passed to its CKEditor 5 preview endpoint, leading to a reflected cross-site scripting (XSS) vulnerability.",
  "id": "DRUPAL-CONTRIB-2026-299",
  "modified": "2026-11-04T20:30:03.553397297Z",
  "published": "2026-11-04T17:32:45Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.drupal.org/sa-contrib-2026-299"
    }
  ],
  "schema_version": "1.9.2"
}
View JSON API Download JSON