CVE-2025-48923
JSON

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 packageVersionsReported by
Drupal Toc.jsfrom 0.0.0 before 3.2.1CVE List
drupal/toc_js (Packagist:https://packages.drupal.org/8)before 3.2.1Drupal Security Team
toc.js_project toc.jsbefore 3.2.1NVD

Classification

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2025-48923 changed 2025-06-26CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2025-077 changed 2026-09-10MIT
NVDCVE-2025-48923 changed 2026-06-17Public domain