Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 551865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:26:22+00:00 2026-05-13T11:26:22+00:00

Internet Explorer 8 has a new security feature, an XSS filter that tries to

  • 0

Internet Explorer 8 has a new security feature, an XSS filter that tries to intercept cross-site scripting attempts. It’s described this way:

The XSS Filter, a feature new to Internet Explorer 8, detects JavaScript in URL and HTTP POST requests. If JavaScript is detected, the XSS Filter searches evidence of reflection, information that would be returned to the attacking Web site if the attacking request were submitted unchanged. If reflection is detected, the XSS Filter sanitizes the original request so that the additional JavaScript cannot be executed.

I’m finding that the XSS filter kicks in even when there’s no “evidence of reflection”, and am starting to think that the filter simply notices when a request is made to another site and the response contains JavaScript.

But even that is hard to verify because the effect seems to come and go. IE has different zones, and just when I think I’ve reproduced the problem, the filter doesn’t kick in anymore, and I don’t know why.

Anyone have any tips on how to combat this? What is the filter really looking for? Is there any way for a good-guy to POST data to a 3rd-party site which can return HTML to be displayed in an iframe and not trigger the filter?

Background: I’m loading a JavaScript library from a 3rd-party site. That JavaScript harvests some data from the current HTML page, and posts it to the 3rd-party site, which responds with some HTML to be displayed in an iframe. To see it in action, visit an AOL Food page and click the “Print” icon just above the story.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:26:23+00:00Added an answer on May 13, 2026 at 11:26 am

    What does it really do? It allows third parties to link to a messed-up version of your site.

    It kicks in when [a few conditions are met and] it sees a string in the query submission that also exists verbatim in the page, and which it thinks might be dangerous.

    It assumes that if <script>something()</script> exists in both the query string and the page code, then it must be because your server-side script is insecure and reflected that string straight back out as markup without escaping.

    But of course apart from the fact that’s it’s a perfectly valid query someone might have typed that matches by coincidence, it’s also just as possible that they match because someone looked at the page and deliberately copied part of it out. For example:

    http://www.bing.com/search?q=%3Cscript+type%3D%22text%2Fjavascript%22%3E

    Follow that in IE8 and I’ve successfully sabotaged your Bing page so it’ll give script errors, and the pop-out result bits won’t work. Essentially it gives an attacker whose link is being followed license to pick out and disable parts of the page he doesn’t like — and that might even include other security-related measures like framebuster scripts.

    What does IE8 consider ‘potentially dangerous’? A lot more and a lot stranger things than just this script tag. eg. What’s more, it appears to match against a set of ‘dangerous’ templates using a text pattern system (presumably regex), instead of any kind of HTML parser like the one that will eventually parse the page itself. Yes, use IE8 and your browser is pařṣinͅg HT̈́͜ML w̧̼̜it̏̔h ͙r̿e̴̬g̉̆e͎x͍͔̑̃̽̚.

    ‘XSS protection’ by looking at the strings in the query is utterly bogus. It can’t be ‘fixed’; the very concept is intrinsically flawed. Apart from the problem of stepping in when it’s not wanted, it can’t ever really protect you from anything but the most basic attacks — and the attackers will surely workaround such blocks as IE8 becomes more widely used. If you’ve been forgetting to escape your HTML output correctly you’ll still be vulnerable; all XSS “protection” has to offer you is a false sense of security. Unfortunately Microsoft seem to like this false sense of security; there is similar XSS “protection” in ASP.NET too, on the server side.

    So if you’ve got a clue about webapp authoring and you’ve been properly escaping output to HTML like a good boy, it’s definitely a good idea to disable this unwanted, unworkable, wrong-headed intrusion by outputting the header:

    X-XSS-Protection: 0
    

    in your HTTP responses. (And using ValidateRequest="false" in your pages if you’re using ASP.NET.)

    For everyone else, who still slings strings together in PHP without taking care to encode properly… well you might as well leave it on. Don’t expect it to actually protect your users, but your site is already broken, so who cares if it breaks a little more, right?

    To see it in action, visit an AOL Food page and click the “Print” icon just above the story.

    Ah yes, I can see this breaking in IE8. Not immediately obvious where IE has made the hack to the content that’s stopped it executing though… the only cross-domain request I can see that’s a candidate for the XSS filter is this one to http://h30405.www3.hp.com/print/start:

    POST /print/start HTTP/1.1
    Host: h30405.www3.hp.com
    Referer: http://recipe.aol.com/recipe/oatmeal-butter-cookies/142275?
    
    csrfmiddlewaretoken=undefined&characterset=utf-8&location=http%253A%2F%2Frecipe.aol.com%2Frecipe%2Foatmeal-butter-cookies%2F142275&template=recipe&blocks=Dd%3Do%7Efsp%7E%7B%3D%25%3F%3D%3C%28%2B.%2F%2C%28%3D3%3F%3D%7Dsp%7Ct@kfoz%3D%25%3F%3D%7E%7C%7Czqk%7Cpspm%3Db3%3Fd%3Do%7Efsp%7E%7B%3D%25%3F%3D%3C%7D%2F%27%2B%2C.%3D3%3F%3D%7Dsp%7Ct@kfoz%3D%25%3F%3D%7E%7C%7Czqk...
    

    that blocks parameter continues with pages more gibberish. Presumably there is something there that (by coincidence?) is reflected in the returned HTML and triggers one of IE8’s messed up ideas of what an XSS exploit looks like.

    To fix this, HP need to make the server at h30405.www3.hp.com include the X-XSS-Protection: 0 header.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that Internet Explorer has some proprietary extensions so that you can do
Recently an application I wrote started not working on Internet Explorer. There has been
I've noticed that Internet Explorer adds a number in square brackets to files downloaded
I am using DD_roundies to generate rounded corners in Internet Explorer. The pages that
I am using ShDocVW.InternetExplorer class to spawn a new internet explorer object and to
I'm using some jQuery that works fine in all browsers except in Internet Explorer
Has anyone run tests for running 3D CSS Transforms on Internet Explorer 9? If
I have an Internet Explorer BHO that can execute a script on the current
I am working with an ActiveX control in Internet Explorer 8 that is to
Internet Explorer 8 breaks what must be every 3rd page I look at. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.