You can find some useful info with the keywords "hdpe chemical compatibility (or resistance) chart" or something similar in google, its a good idea that you're being cautious and questioning it
Results seem a bit varied as for HDPE and Xylene/aromatics, they range from "not recommended" to "good/fair". I think with some time it could dissolve HDPE, maybe even quick use may dissolve small amounts. Definitely dont use heat. Personally I would avoid it in general, not only because of plastic itself but also the plasticizers that may be present.
I dont think you will die if you use it quickly and use from that batch once or twice but I wouldnt risk my health to be consuming (and in clean-conscience giving it away to others) something that I know could have plastic/plasticizer traces and toxic to my body.