{"id":"DRUPAL-CONTRIB-2025-077","aliases":["CVE-2025-48923"],"title":"This module enables you to generate Table of content of your pages given a configuration.","titleSource":"OSV","descriptionSource":"OSV","description":"This module enables you to generate Table of content of your pages given a configuration.\n\nThe module doesn't sufficiently sanitise data attributes allowing persistent Cross-site Scripting (XSS) attacks.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with permission to enter HTML tags containing specific data attributes using other modules.","severity":"unknown","score":null,"published":"2025-06-25T18:41:06.000Z","modified":"2026-09-10T03:46:16.480Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist:https://packages.drupal.org/8","name":"drupal/toc_js","sources":[{"name":"OSV · DRUPAL-CONTRIB-2025-077","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-077"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"3.2.1"}],"type":"ECOSYSTEM","database_specific":{"constraint":"<3.2.1"}}],"versions":[],"fixed":["3.2.1"]}],"sourceAffected":[],"references":["https://www.drupal.org/sa-contrib-2025-077"],"sources":[{"name":"OSV","id":"DRUPAL-CONTRIB-2025-077","modified":"2026-09-10T03:46:16.480822822Z","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-077"}],"assessments":[],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T23:35:31.725Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}