Unwanted symbols while pasting text on to terminal

I get 0~ symbol before the text and 1~ after the text while pasting it on to the terminal window.

Is it related to some edits that I made in .bashrc or .vimrc files?

Eg: I see '0~allowed1~' when I press ctrl+shift+v while pasting the text 'allowed'


I was able to solve this problem by adding set t_BE= to my .vimrc file. thanks for the help @terdon and @steeldriver.

Copy-Paste in xfce4-terminal adds 0~ and 1~