Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. [solved] XSS Vulnerability in "Preview Post" feature of the forum

[solved] XSS Vulnerability in "Preview Post" feature of the forum

Scheduled Pinned Locked Moved Qt.io webservices
4 Posts 3 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thp4
    wrote on last edited by
    #1

    Writing a post here and then clicking on "Preview Post" can lead to a XSS vulnerability: I can inject tags using the "less than" and "greater than" HTML entities - these are not escaped in the preview.

    <b>Hello Bold!</b>

    Another test: <blink>Testing....</blink> (if your browser supports blink tags)

    <iframe width="400" height="200" src="http://www.google.com/"></iframe>

    Edit: It turns out the vulnerability even works when displaying the forum.

    Bug report: http://bugreports.qt.nokia.com/browse/QTWEBSITE-113

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mgran
      wrote on last edited by
      #2

      Thanks thp, looking into it now.

      Project Manager - Qt Development Frameworks

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gurudutt
        wrote on last edited by
        #3

        Thank you for reporting this issue, This is fixed now :)

        Release Manager - Qt Development Frameworks

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thp4
          wrote on last edited by
          #4

          [quote author="Gurudutt" date="1291292998"]Thank you for reporting this issue, This is fixed now :)
          [/quote]

          That was quick, thanks a lot :)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved