webappsec-ISSUE-48 (base uri): injection of a <base> tag to change effective location of relative resources [CSP 1.1]

webappsec-ISSUE-48 (base uri): injection of a <base> tag to change effective location of relative resources [CSP 1.1]

http://www.w3.org/2011/webappsec/track/issues/48

Raised by: Brad Hill
On product: CSP 1.1

Questions:

  1. how many sites are vulnerable to this?
  2. how many sites currently set both an explicit base and use CSP?
  3. how common generally is the use of base?

probably most common on static sites that may have been moved from one location to another (a way to avoid fixup of all links)

If breakage is minimal, setting CSP at all might imply that <base> is ignored unless whitelisted in the policy.  

Received on Thursday, 25 April 2013 19:26:02 UTC