#6640 closed defect (bug) (fixed)
Login should use DB prepare method on user input
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.5.1 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | wp-login wpdb prepare mysql has-patch |
| Focuses: | Cc: |
Description
I noticed that wp-login.php runs DB queries from user-inputted data that is sanitized in an ad hoc manner. If for no other reason than consistency, it seems to me that all such queries should use the prepare method, as this patch does.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [7632]) Use DB prepare on login queries. Props filosofo. fixes #6640 for 2.5