Security Tip: Don't Use nl2br()!
Tuesday Mar 26th 2024
Stephen Rees-Carter
— Submitted by
Marko
As useful as it sounds, nl2br() can potentially leave you open to Cross-Site Scripting (XSS) vulnerabilities... you should reach for CSS instead!