Jquery CORS error

Hello, I am facing a weird issue on my ERPNext installation. When I preview a print format I see the following CORS error shown in the browser console.

Uncaught (in promise) DOMException: Blocked a frame with origin "http://abc.example.com" from accessing a cross-origin frame.
    at va (http:/abc.example.com/assets/frappe/js/lib/jquery/jquery.min.js:3:13389)
    at remove (http:/abc.example.com/assets/frappe/js/lib/jquery/jquery.min.js:3:14291)
    at <anonymous>

Could someone help fixing this?