toc.js vulnerabilities and fixes
Recent CVEs affecting toc.js, with upgrade or downgrade steps. 1 tracked.
Also searched as: toc js, tocjs.
toc.js has 1 tracked vulnerability, 0 critical. A fixed release or vendor patch exists for 1. Most recent: 2025-06-26. Highest priority: CVE-2025-48923 (score 24/100).
- CVE-2025-48923 MEDIUM 6.1 UPGRADE Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal T
FAQ
How do I fix toc.js vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is toc.js being exploited right now?
None of the tracked toc.js CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which toc.js CVE should I patch first?
CVE-2025-48923 currently ranks highest (24/100): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal T.