General
Linux
Python
blog
caching
databases
debugging
django
djangocon
geodjango
inauguracion
jacobkaplanmoss
misscripts
opensource
orm
postgresql
projects
python
security
software
yaco
Reducing XSS by way of Automatic Context-Aware Escaping in Template Systems
Blog de Simon Willison Posted on April 14, 2009
Reducing XSS by way of Automatic Context-Aware Escaping in Template Systems (via). The Google Online Security Blog reminds us that simply HTML-escaping everything isn’t enough—the type of escaping needed depends on the current markup context, for example variables inside JavaScript blocks should be escaped differently. Google’s open source Ctemplate library uses an HTML parser to keep track ...


