This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

CSRF Guard 2.2 Roadmap

Revision as of 02:41, 26 February 2008 by Esheridan (talk | contribs) (Planned Changes)

Jump to: navigation, search


The purpose of this article is to maintain the desired change requests for the upcoming CSRFGuard releases. If there is a particular feature that you would like to see implemented, please feel free to add it to the appropriate sections below.

Planned Changes

The following is a list of changes that are tentatively scheduled for the J2EE CSRFGuard 2.2 release:

  1. Port the existing configuration file to an XML based config file
  2. Allow the user to define a list of "known safe extensions" that do not require CSRF checks
  3. Allow the user to define "entry point pages" whose token is never validated but a token always gets inserted
  4. Allow the user to define "unprotected pages" that we will simply ignore. By default, all pages are "protected"
  5. Modify the response handlers to only place the token in links/forms that point to our origin
  6. Update the response handlers to support the various locations that an "href" and "src" attribute can be placed in the HTML 5 spec
  7. Update the JavaScriptHandler to support the "embed" tag. Is there a better way to update the attributes where we don't need to know the tag name, like the HTMLParserHandler?
  8. Rebuild the project in NetBeans and create jUnit test cases where applicable
  9. Visiting the page and clicking "refresh" is caught as a CSRF attack. Only verify the token if parameters exist in the request (optional).
  10. Add basic JavaScript support for invocations such as "document.location" or "window.location"
  11. Optionally randomize the CSRF token parameter name.

Deferred Changes

The following is a list of changes that were suggested but not implemented:


Changes Under Consideration

The following is a list of change requests that are still under consideration: