On the linux platform, I have to write a C cgi app that will need to guard against urls with xss in them. Probably my biggest concern will be preventing any type of cookie manipulation off this domain via JS in the urls.
I've been looking for a library to hopefully allow me to run the urls through them and strip them, perhaps similar to Microsoft's Anti-Cross Site Scripting Library.
Closest I've found is OWASP's library but it's not available in C Category:OWASP Enterprise Security API - OWASP
Does anyone know of anything existing like this already in C?