Medicine

A 22 year female comes with complains of dyspnea and palpitations since 4 years shows verrucous vegetations of mitral valve. The condition is due to?