goechsler / goe_sass

GNU General Public License v2.0
5 stars 1 forks source link

'goe_sass' tag doesn't sanitize attributes #3

Closed gocom closed 11 years ago

gocom commented 11 years ago

Every Textpattern tag has the responsibility of sanitizing its own output. Primary output format is HTML, so this normally would mean encoding it so that it generates safe/valid HTML markup.

Basically, the $rel, $media, $title and $file variables in goe_sass() should be run through txpspecialchars() to prevent any injections or broken HTML.