Country
It provides a dedicated field for the official country list of the system.
An administrator could store malicious scripts in the country text box. These scripts could run when other people use the website. This could let someone read or change private data.
- Who could do thisOnly someone with an administrator login.
- Does it apply to youA site is affected if additional modules or custom code are used alongside it.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Country to 2.1.3 or 2.2.1, whichever branch you are on.
For developers: what the fix changed
The fix escapes the country label using the HTML utility class before returning it in the autocomplete widget matches within the country autocomplete controller.
src/Controller/CountryAutocompleteController.php+4 −1 fix