Date: Mon, 7 Feb 2000 18:28:08 -0500 (EST) From: Steven Champeon To: "[wd] - the Web Design community" Subject: [WD]: more about the Cross-site scripting issue Here's a good rundown of all the stuff in the other advisories: I'm still not that excited about this, but that doesn't mean you shouldn't be. Basically, if you provide public access to forms or other mechanisms that allow a user to change the output of a page, you need to be sure that your backend is properly escaping any input that might potentially be dangerous given an expanded set of circumstances. These circumstances, which used to be as simple as ensuring that you don't allow SSI "exec" and HTML, now include many variations on that theme, taking into account the ways different browsers interpret different character sets. And that exposes a whole set of problems in areas we've already been told to watch out for - such as dangerous user-injected scripting. Read the advisories. So, it's code review time for all of you dynamic Web site developers. Bear in mind it's not just a question of pages that are *entirely* dynamic, it also includes any pages that include dynamic *parts*. By way of example, here's my DHTML GUIs "bookstore configurator": Click on the link "choose which online bookseller you want to use here". This will open /book/preferences.html, in a popup window. From here, it is possible to set a cookie to one of the following: