Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

v4.6.2

Latest

Choose a tag to compare

@jwlee1108 jwlee1108 released this 13 Nov 16:55
· 1 commit to main since this release

⚠️ 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, and background attributes.
    • Allow only safe URLs in those attributes: http:, https:, ftp:, mailto:, tel:, relative URLs, and data:image/* in src.
    • Remove <base> tags.

Behavior change

  • HTML in categories, series names, and tooltip.formatter results is now shown as plain text in the default tooltip.
  • To render HTML in the tooltip, use the tooltip.template option. Strings returned from tooltip.template still go through the sanitizer. If your template inserts data values such as model.category, escape them yourself.

Wrappers

  • @toast-ui/react-chart 4.7.2 and @toast-ui/vue-chart 4.6.2 are released.
    • They require @toast-ui/chart 4.6.2 or later.

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.2

Full Changelog: v4.6.1...v4.6.2