nosophilia

Etymology

From noso- + -philia.

noun

  1. Sexual arousal from knowing that a partner has a terminal illness