CoreUI v5.9.1 - Security Hardening and Component Lifecycle Fixes
Sunday, October 4, 2026
We are pleased to announce the release of CoreUI v5.9.1 for Bootstrap. This maintenance release hardens the sanitizer, makes dispose() leave the page the way it found it across several components, improves accessibility of toggle Buttons and loading animations, and fixes a handful of border-radius details.
Speed up your responsive apps and websites with fully-featured, ready-to-use open-source admin panel templates—free to use and built for efficiency.
How to Update
To update your project to CoreUI v5.9.1, follow these steps:
- Open your project’s
package.json. - Locate the
@coreui/coreuientry under dependencies and update the version number to5.9.1. - Save your changes to the
package.jsonfile. - In your project’s root directory, run the update command appropriate for your package manager:
- For npm users, execute
npm install. - For yarn users, execute
yarn install. - For pnpm users, execute
pnpm install.
- For npm users, execute
What’s New
Security
- Sanitizer:
data:andvbscript:URLs are now rejected in URI attributes. - Configuration:
sanitize,allowListandsanitizeFnare no longer read fromdata-coreui-*attributes in the markup. Set them in the JavaScript options instead.
Accessibility
- Buttons: Toggle buttons expose
aria-pressedbefore the first click. - Placeholders & Avatar: Loading animations stop for users who prefer reduced motion.
Bug Fixes
- Dropdowns: Arrow and Escape keys in a
.dropdown-menuwithout a toggle, such as a menu rendered by a framework component, no longer throw an error. The inner border radius is restored when the vertical padding is zero. - Modal & Offcanvas: The page no longer jumps on close, and scrolling is given back when the instance is disposed. Offcanvas is now also exposed under its documented name.
- Sidebar: No longer leaks document and window listeners, declares the toggler height where the narrow sidebar reads it, and lets other togglers inside the sidebar keep their default behavior.
- Card, Accordion, Modal & Popovers: The inner radius follows the component’s own border. The trailing footer corner of a card in a card group is square again.
- Chip & Chip Input: Listeners are namespaced, so
dispose()removes them, and the chip input no longer fakes its states. - Lifecycle: Replacing a component instance disposes the old one, and Sidebar, focus trap and navigation clean up what they added when disposed or deactivated. Tabs leave browser keyboard shortcuts alone.
- Event handling:
mouseenterandmouseleaveget their own registry identity, andbeforeinputaccepts a namespace.
Documentation & Tooling
- Docs: The Tables page has its sixteen demos back, and the form validation snippet runs on the Validation page.
- Tests: The unit suite runs on Vitest browser mode instead of Karma.
Dependency Updates
- Development dependencies updated to their latest minor and patch versions, including
astro7.3.5,rollup4.64.0,sass-embedded1.105.1 andvitest4.1.11. The compiled CSS is unchanged by these updates.
Migration Notes
This is a maintenance release with no breaking changes to the public API. One behavior change to check after upgrading:
- If your markup sets
data-coreui-sanitize,data-coreui-allow-listordata-coreui-sanitize-fnon tooltips or popovers, move those settings to the JavaScript options. - Install updated dependencies, run your test suite and verify the build.
For a comprehensive overview of all changes, enhancements, and updates introduced in this release, please refer to the full changelog on GitHub.



