Skip to content

Add Email Validation Rules for XSS attack modes #2629

@jobannon

Description

@jobannon

Problem

The primary mechanism to validate an email address on a User within FusionAuth is through an email verification workflow. In this workflow, policies can be set to block user access until this is complete (gating) or/and remove users after N days of non verifying an email address. Optionally, users can remain with both verified and unverified email addresses in a tenant in FusionAuth.

In either case, users can enter an email address such as

</script><script/>@something.com

In other words, we are not blocking this type of email address on User Create or Update. This does not pose a strong security threat to FusionAuth, but could pose a threat to downstream consumers of this email address (if an application integrator is not accounting for XSS and SQL injection attack vectors when consuming this email address)

Solution

Complete addition email validation to block certain email addresses from being allowed on user update and user create.

Additional context

Customer suggested

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions