New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 626528 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Security



Sign in to add a comment

JS in text area executes when Tab is pressed

Reported by robinj...@gmail.com, Jul 8 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Steps to reproduce the problem:
1. Open any webpage containing an area to insert text.
2. Enter a script (ie. `<script>alert(1);</script>`)
3. Press Tab

What is the expected behavior?
JS is not meant to execute.

What went wrong?
Javascript executes creating a possible XSS. If put with creativity, this can end up being a stored XSS when victims are social engineered into "editing" a comment, until they are told to press Tab, in which the script will execute.

Did this work before? N/A 

Chrome version: 51.0.2704.103  Channel: n/a
OS Version: 10.0.14372
Flash Version: Shockwave Flash 22.0 r0

Ineffective on creative div-style text areas.

Confirmed that this is not a specific website issue - MS Edge does not have the same behavior.
 
Labels: Needs-Feedback
I can't reproduce this. Have you checked this on a clean profile? It's possible you have an extension installed that is causing this behavior.

Comment 2 by ta...@google.com, Jul 15 2016

Cc: ta...@google.com
Could you also provide the webpage URL on which you tried this? Thank you.
Labels: -Restrict-View-SecurityTeam -Needs-Feedback
Status: WontFix (was: Unconfirmed)
As mentioned in comment 1, a bug in an extension seems like the most likely cause of this. I also can't reproduce the issue.

If you can reproduce this with a clean profile or provide any additional details, let us know and we can reopen this.
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 22 2016

Labels: allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment