Sealing what appears to be a non standard overflow drain
When you have an odd-ball thing in the plumbing that needs sealed and you really can't find a thing made to seal it (and it's DWV, not pressurized supply) reach for a tub of plumber's putty...

There should be a gasket as seen in @toyrunrs recent question...