Simon Willison’s Weblog

Subscribe

Items tagged opensource, security in 2009

Filters: Year: 2009 × opensource × security × Sorted by date


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 of the current context and apply the correct escaping function automatically. # 14th April 2009, 9:26 am

Types

Years

Months

Tags