This 2017 study I found in 30s of searching is seemingly underpowered at n=30 or so, but the (preliminary) implication is awful enough that I won't give my boys ibuprofen at all. Out of abundance of caution.
They can have naproxen or acetaminophen instead -- we keep those out of reach and teach our children not to touch them without adults.
Perhaps there is some more recent research?
Again and again, this hepatologist makes his message clear: "Acetaminophen (Paracetamol) is the safest anti-fever and anti-pain medicine even among patients with liver disease. It is the first choice for fever and pain management even in advanced cirrhosis."
Look for some of his other posts on the topic for studies and citations.
I take acetaminophen, but only occasionally.