6.1medium
Toc.js - Moderately critical - Cross-site Scripting - SA-CONTRIB-2025-077
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.42% (higher than 28% of CVEs)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- DRUPAL-CONTRIB-2025-077
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal Toc.js | from 0.0.0 before 3.2.1 | CVE List |
| drupal/toc_js (Packagist:https://packages.drupal.org/8) | before 3.2.1 | Drupal Security Team |
| toc.js_project toc.js | before 3.2.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
Drupal Security Team
This module enables you to generate Table of content of your pages given a configuration.
The module doesn't sufficiently sanitise data attributes allowing persistent Cross-site Scripting (XSS) attacks.
This 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.
NVD (es)
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.
References
| https://www.drupal.org/sa-contrib-2025-077 | vendor-advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-48923 changed 2025-06-26 | CVE Terms of Use |
| Drupal Security Team | DRUPAL-CONTRIB-2025-077 changed 2026-09-10 | MIT |
| NVD | CVE-2025-48923 changed 2026-06-17 | Public domain |