Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 4996

Sanitizing the SMTP_PASSWORD field

$
0
0

Replies: 0

Great plugin! I was having difficult authenticating to G Suite service like many others here. I found that my password was being altered by the sanitize function applied when I was setting my password in the admin section.

Now I suppose when I am logged into the admin area of WP, that I won’t be doing any kind of sql injection attacks, but I do suppose if the admin account is hacked, that an attackers could potentially target this field. So I wasn’t sure if any other method of “sanitizing” this field would be potentially work better? Perhaps there is a more specific sql injection sanitizer that would be preferred? I think the WP sanitize function is stripping out any and all potential HTML tags, etc.

Hope this helps the community.

Specific issue is found at file: includes/class-smtp-settings.php. line: 116


Viewing all articles
Browse latest Browse all 4996

Trending Articles