Problem/Motivation
Line 35 in js/webform.form.tabs.js uses an unescaped parameter from URL which could potentially lead to XSS issues.
tabIndex = $('a[href="' + location.hash + '"]').data('tab-index');
Proposed resolution
Filter parameters retrieved from URL using Drupal.checkPlain() https://www.drupal.org/docs/security-in-drupal/writing-secure-code-for-d...
Issue fork webform-3219589
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
piggito commentedComment #4
jrockowitz commentedComment #5
jrockowitz commented