freelawproject / courtlistener

A fully-searchable and accessible archive of court data including growing repositories of opinions, oral arguments, judges, judicial financial records, and federal filings.
https://www.courtlistener.com
Other
550 stars 151 forks source link

fix(users): Enforce validation on first_name for increase security #4701

Closed ERosendo closed 2 days ago

ERosendo commented 3 days ago

This PR addresses a security vulnerability in the registration form. The first_name field was previously susceptible to Hyperlink Injection attacks. By allowing arbitrary input, malicious users could inject malicious links into the welcome email, potentially redirecting users to phishing sites or distributing malware.

References:

https://hackerone.com/reports/843421 https://hackerone.com/reports/158554 https://hackerone.com/reports/164833

fixes #4687

mlissner commented 2 days ago

Nice. Set for auto-merge!