Repairing rear arm rests

The sides of my rear arm rests have separated from the metal core and have pulled away. Is there anyway to glue them back to the metal core?
Thanks in advance.

IMG_7304.jpeg