Hafetz Haim Halachot
Halacha 214 / 215

Illustrations paragraph 10

Sometimes there is a case where it is allowed to tell: if he knows that the bride has an internal illness that not everyone can see, and the groom does not know about it. But he must be careful that all the details are met.

And if he did not know it himself, but only heard it from others, he should not tell, unless he knows that the groom will not take the law into his own hands, but will be careful and check it well.