Re:Synology Security Advisory
by wccrawford on Friday November 20, 2026 @09:15AM
(#50574944)
"sanitize your inputs" means you have to know what the output is ahead of time, and that you'll never output any other way. It also means false positives. It can actually be harmful if done wrong (double escaping, escaping that certain systems don't understand) but there's some basic forms that probably aren't too bad. It's generally pointless, though, since...
"escape your outputs" works for all data and is actually achievable. It means even escaping data that was never an "input" from the outside the system, even developer-created data, which absolutely can (and does) cause problems to ignore.
"escape your outputs" works for all data and is actually achievable. It means even escaping data that was never an "input" from the outside the system, even developer-created data, which absolutely can (and does) cause problems to ignore.