SMRTR ProgrammingJun 21, 2026Daily.dev

anti-xss: Protection against Cross-site scripting (XSS) via PHP

SMRTR summary

AntiXSS is a PHP library that sanitizes user input to prevent cross-site scripting attacks, which historically made up 84% of all documented web vulnerabilities. Installable via Composer, it handles HTML characters, hex, Unicode, inline CSS, and custom evil tags or attributes through a clean, chainable API, with mutation testing enforcing 100% MSI on diffs.

SMRTR provides this summary for quick context. The original article belongs to Daily.dev.

Read the original article
SMRTR Programming

Get the next batch of curated summaries in your inbox.

This archive is built from SMRTR newsletter summaries. Subscribe for hand-picked stories without the extra noise.