[CLOSED] XSS Injection NumberFIeld

  1. #1

    [CLOSED] XSS Injection NumberFIeld

    I found an XSS injection on NumberField component.

    Here is the steps to reproduce this issue.
    • Create new project;
    • Put this code;
      <body>
          <form runat="server">
          <!-- Resource Manager -->
          <ext:ResourceManager ID="ResourceManager" runat="server" />
          <ext:Panel ID="Panel" runat="server" Height="300" Width="500" Title="Panel">
              <Items>
                  <ext:NumberField ID="NumberField1" FieldLabel="Number" runat="server">
                  </ext:NumberField>
              </Items>
          </ext:Panel>
          </form>
      </body>
    • Run project;
    • At page, copy and paste the code below inside the field;
      <font color='red' size='20'>Hi!</font>
    • Wait for the browser to process the html code;
    • Place the mouse pointer at red line to see the message. As image shown;

    Click image for larger version. 

Name:	NumberFieldXSS.png 
Views:	17 
Size:	3.3 KB 
ID:	6267
    Last edited by Daniil; May 30, 2013 at 4:07 AM. Reason: [CLOSED]
  2. #2
    I don't think that it is XSS issue. Lets consider what is XSS (wikipedia)
    XSS enables attackers to inject client-side script into Web pages viewed by other users.
    In your case, tooltip is shown for the same user. It is same if we consider javascript execution in browser console as XSS

Similar Threads

  1. [CLOSED] numberfield
    By majestic in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jul 05, 2012, 1:09 PM
  2. NumberField's Value Bug?
    By zxd9915 in forum 1.x Help
    Replies: 4
    Last Post: Mar 20, 2012, 5:44 AM
  3. [CLOSED] script injection warning
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 29, 2011, 7:13 AM
  4. Replies: 6
    Last Post: Jan 29, 2010, 12:15 PM
  5. 0 in numberfield
    By [WP]joju in forum 1.x Help
    Replies: 1
    Last Post: Sep 22, 2009, 10:19 AM

Posting Permissions