Sounds like a 3-capacitors-in-one-housing EMI suppressor as used in many domestic appliances which include a motor.
The 25nF cap would be an X-type connected directly between the two supply rails. The two 5nF caps would be Y-type, connected in series, the series combo being connected between the...