title: Sanitize string from Malicious Markdown Vectors in java
body: <p>What can I use to sanitize string from Malicious Markdown Vectors before storing it in database?</p>
  <p>I am using spring boot on back-end, and I need somehow to sanitize string before it is saved in database and later used for Cross-Site Scripting attacks. This is example of Malicious Markdown:</p>
  <p><code>[clickme](javascript:prompt(document.domain))</code></p>
  <p>After it's saved, it's shown as link and can be clicked.</p>