ogallagher / tejos_textiles

An online arts journal for publishing works in a new medium
MIT License
1 stars 0 forks source link

Prevent JS injection (XSS) #22

Closed ogallagher closed 4 years ago

ogallagher commented 4 years ago

There are already some places currently vulnerable to JS injection that need to be fixed:

And some places that should implement the fix when they’re introduced:

To do so, my current plan is to follow this guide from Medium and implement a method to escape html characters (<,>,&) before submitting text to the database.

ogallagher commented 4 years ago

Done.