# User input validation

**URL:** <https://meta.discourse.org/t/user-input-validation/172741>\
**Category:** Development\
**Created:** [December 9, 2020, 12:16pm UTC](https://meta.discourse.org/t/user-input-validation/172741 "2020-12-09T12:16:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Cal](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@Cal](https://meta.discourse.org/u/Cal)\
**Post date:** [December 9, 2020, 12:16pm UTC](https://meta.discourse.org/t/user-input-validation/172741/1 "2020-12-09T12:16:15Z")

</div>

Does anyone know if it’s possible to implement custom user input validation, specifically for new users, new admin badges and new user fields.

After a penetration test we found we are vulnerable to HTML Injection and other malicious inputs in these areas and wondered if there is a way to further validate these inputs to improve security (possibly by using regex or another way to achieve the same result)

Thanks in advance!

---

_[View the full topic](https://meta.discourse.org/t/user-input-validation/172741)._
