Opened 17 years ago
Closed 17 years ago
#11774 closed defect (bug) (fixed)
in ms-edit.php, WPLANG site option gets updated without any validation
| Reported by: | Denis-de-Bernardy | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Security | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | multisite |
Description
there is a line in there that goes:
update_site_option( "WPLANG", $_POST['WPLANG'] );
in addition to the missing sanitization, we should at least make sure the lang file is around.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [12946]) Introduce get_available_languages(). Validate WPLANG. fixes #11774