This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
⚠️ This project is no longer maintained.
This is the final release of TOAST UI Chart. No new features or bug fixes will be released.
Security
- Escape data strings in the default tooltip templates: category, series name, formatted value, and color.
- Harden the HTML sanitizer used for tooltips:
- Ignore control characters and spaces when checking
href,src, andbackgroundattributes. - Allow only safe URLs in those attributes:
http:,https:,ftp:,mailto:,tel:, relative URLs, anddata:image/*insrc. - Remove
<base>tags.
- Ignore control characters and spaces when checking
Behavior change
- HTML in
categories, series names, andtooltip.formatterresults is now shown as plain text in the default tooltip. - To render HTML in the tooltip, use the
tooltip.templateoption. Strings returned fromtooltip.templatestill go through the sanitizer. If your template inserts data values such asmodel.category, escape them yourself.
Wrappers
@toast-ui/react-chart4.7.2 and@toast-ui/vue-chart4.6.2 are released.- They require
@toast-ui/chart4.6.2 or later.
- They require
Upgrade
npm install @toast-ui/chart@4.6.2
# React
npm install @toast-ui/react-chart@4.7.2
# Vue
npm install @toast-ui/vue-chart@4.6.2Full Changelog: v4.6.1...v4.6.2