{"id":"DRUPAL-CONTRIB-2025-077","details":"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.","aliases":["CVE-2025-48923"],"modified":"2026-09-10T03:46:16.480822822Z","published":"2025-06-25T18:41:06Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-077"}],"affected":[{"package":{"name":"drupal/toc_js","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/toc_js?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1"}],"database_specific":{"constraint":"\u003c3.2.1"}}],"database_specific":{"affected_versions":"\u003c3.2.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/toc_js/DRUPAL-CONTRIB-2025-077.json"}}],"schema_version":"1.9.0","credits":[{"name":"Pierre Rudloff (prudloff)","contact":["https://www.drupal.org/u/prudloff"]}]}