coprolalia

noun

1.
an uncontrollable use of obscene language; often accompanied by mental disorders