Hello Romain,
High severity vulnerabilities should have high alert level.
<level></level> option in the config, filters alerts by rule level so only alerts with the specified level or above are pushed. The allowed value is any alert level from 0 to 16.
Changing the alert level in the ossec.conf should help filter correctly.
<integration>
<name>slack</name>
<hook_url>WEBHOOK_URL</hook_url>
<alert_format>json</alert_format>
<group>vulnerability-detector</group>
<event_location>vulnerability-detector</event_location>
<level>10</level>
</integration>
References:
Please let me know if this works.