{"id":"CVE-2025-48923","aliases":["CVE-2025-48923","DRUPAL-CONTRIB-2025-077"],"related":[],"kind":"vulnerability","state":"published","title":"Toc.js - Moderately critical - Cross-site Scripting - SA-CONTRIB-2025-077","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Toc.Js allows Cross-Site Scripting (XSS).This issue affects Toc.Js: from 0.0.0 before 3.2.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Toc.Js allows Cross-Site Scripting (XSS).This issue affects Toc.Js: from 0.0.0 before 3.2.1.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"drupal"},{"lang":"es","text":"La vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal Toc.Js permite Cross-Site Scripting (XSS). Este problema afecta a Toc.Js: desde la versión 0.0.0 hasta la 3.2.1.","source":"nvd"}],"published":"2025-06-25T18:41:06.000Z","modified":"2026-09-10T03:46:16.480Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"3.2.1","status":"affected"}],"vendor":"Drupal","product":"Toc.js","repo":"https://git.drupalcode.org/project/toc_js","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.1"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/toc_js","purl":"pkg:composer/drupal/toc_js?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","fixed":"3.2.1"}],"vendor":"toc.js_project","product":"toc.js","cpe":"cpe:2.3:a:toc.js_project:toc.js:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-077","tags":["vendor-advisory","web"],"sources":["cvelist","drupal","nvd"]}],"credits":["Pierre Rudloff (prudloff)","Flocon de toile  (flocondetoile)","Frank Mably (mably)","Greg Knaddison (greggles)","Juraj Nemec (poker10)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-26T17:47:54.006Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48923","url":"https://www.cve.org/CVERecord?id=CVE-2025-48923","licence":"CVE Terms of Use","modified":"2025-06-26T17:47:59.937Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-077","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-077","licence":"MIT","modified":"2026-09-10T03:46:16.480Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48923","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48923","licence":"Public domain","modified":"2026-06-17T09:30:29.333Z"}],"updatedAt":"2026-11-25T22:58:59.646Z","epss":{"score":0.00421,"percentile":0.28146,"date":"2026-11-30T12:00:22.000Z"}}