#56763 closed enhancement (fixed)
Disable spellcheck for all password fields for better privacy
| Reported by: | dziudek | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.2 |
| Component: | Login and Registration | Version: | |
| Severity: | normal | Keywords: | needs-dev-note add-to-field-guide has-patch |
| Cc: | Focuses: | privacy |
Description
According to discovery described in this article: https://www.bleepingcomputer.com/news/security/google-microsoft-can-get-your-passwords-via-web-browsers-spellcheck/
All password fields generated in WordPress should have attribute spellcheck="false". It will prevent browser from sending passwords to the Google Chrome spellchecking service if Enhanced Spellcheck is enabled.
Attachments (2)
Change History (25)
This ticket was mentioned in PR #3420 on WordPress/wordpress-develop by dziudek.
4 years ago
#1
This pull request adds spellcheck="false" attributes to all password fields in order to avoid privacy problem described here: https://www.bleepingcomputer.com/news/security/google-microsoft-can-get-your-passwords-via-web-browsers-spellcheck/
In short: browsers like Chrome/Edge with Enhanced Spellchecker enabled (it is disabled by default) can send password fields values to the Google/Microsoft spellchecking services.
Trac ticket: https://core.trac.wordpress.org/ticket/56763
#2
@
4 years ago
Related Github pull request: https://github.com/WordPress/wordpress-develop/pull/3420
#7
@
4 years ago
I have checked Github PR. I see changes are made in 8 files and 13 occurrences.
I have searched in my local clone with the text
type="password"
in .php files and found same number files and occurrences. So all change are made properly.
ScreenShot: https://prnt.sc/Eynib0CoHg7y
#8
@
4 years ago
- Owner set to
- Status new → reviewing
It is indeed a recommendation from MDN for elements that can contain sensible information, like password fields.
Self-assigning to test the patch, make sure it covers each occurrence, and hopefully commit.
#9
@
4 years ago
- Keywords commit added
I added two commits to the PR to remove some extra whitespaces.
Tests are passing.
The patch works fine and doesn't introduce any regression.
We're good to go with this implementation :)
#11
@
4 years ago
- Resolution fixed
- Status closed → reopened
Reopening as I wanted to commit the Bundled Theme change separately.
@audrasjb commented on PR #3420:
4 years ago
#13
Committed in https://core.trac.wordpress.org/changeset/55094
This ticket was mentioned in PR #3870 on WordPress/wordpress-develop by Spaceshipone.
4 years ago
#18
- Keywords has-patch added; needs-patch removed
@audrasjb commented on PR #3870:
4 years ago
#21
Thanks for the PR! Committed in https://core.trac.wordpress.org/changeset/55096
#23
@
4 years ago
Added to misc dev note. Draft: https://make.wordpress.org/core/?p=103089&preview=1&_ppp=36765ffd5f
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for the described issue with password fields