Just add this line of code to your theme’s funtions.php file

add_filter('widget_text', 'do_shortcode');