Intel

AIKIDO-2025-10472

drupal/toc_js is vulnerable to Cross Site Scripting (XSS)

Cross Site Scripting (XSS)CVE-2025-48923 Published Jul 17, 2025

60

Medium Risk

This Affects:

PHPdrupal/toc_js
1.0.0 - 3.2.0
Fixed in 3.2.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) due to insufficient sanitization of certain data attributes. The vulnerability is mitigated by the requirement that an attacker must have a role with permission to insert HTML tags containing those specific attributes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

drupal/toc_js is vulnerable to Cross Site Scripting (XSS) in versions 1.0.0 - 3.2.0.

How to fix this

Upgrade the drupal/toc_js library to the patch version.