Safeguard
Tag

xss

Safeguard articles tagged "xss" — guides, analysis, and best practices for software supply chain and application security.

88 articles

Security

JavaScript Security Vulnerabilities: The Ones That Actually Bite

JavaScript security vulnerabilities cluster around a few patterns: XSS, prototype pollution, ReDoS, and dependency risk. Here is how each works and how to catch it.

Jun 18, 20266 min read
Security

JavaScript Hacking Explained: Attack Classes and Defenses

JavaScript hacking is less about breaking the language and more about abusing how apps handle untrusted input. Here are the main attack classes and how to defend against each.

Jun 16, 20266 min read
Security

JavaScript Exploits Explained: How They Work and How to Stop Them

JavaScript exploits target the code that runs in browsers and on Node servers. Here is how the main attack classes work and the defenses that actually hold up.

Jun 16, 20265 min read
Open Source

Is react-hot-toast Safe to Use? A Security Review

react-hot-toast is a small, well-maintained React notification library with a clean security record, but the way you render toast content is where risk creeps in.

Jun 14, 20266 min read
AI Security

GitHub Copilot code security: XSS vulnerabilities found in React

Copilot commonly suggests dangerouslySetInnerHTML and unsanitized DOM writes in React. Here's the data on AI-generated XSS risk and how to catch it.

Jun 13, 20267 min read
AppSec

PrismJS: Vulnerability History and Hardening Your Syntax Highlighting

The npm prismjs package has patched ReDoS, plugin XSS, and a DOM clobbering flaw over the years. Here is the full history and how to run a syntax highlighter safely.

Jun 12, 20266 min read
AppSec

OWASP Top 10 and XSS: Where Cross-Site Scripting Fits Now

In the OWASP Top 10, XSS is no longer its own category. As of the 2021 list it lives inside A03: Injection. Here is what changed, why, and how to defend against it.

Jun 4, 20265 min read
Security

localStorage Security: Why You Shouldn't Keep Tokens There

localStorage security comes down to one fact: any script on your page can read it. That makes it the wrong place for auth tokens and anything sensitive.

Jun 3, 20266 min read
AppSec

react-quill and Quill: XSS History and Safe Rich-Text Editing

Using Quill in React means understanding CVE-2021-3163, the react-quill maintenance gap, and why editor output must always be sanitized server-side before display.

Jun 3, 20266 min read
Security

CVE-2022-31160: Understanding the jQuery UI Checkboxradio XSS

CVE-2022-31160 is a cross-site scripting flaw in jQuery UI's checkboxradio widget, fixed in 1.13.2. Here is how it works and how to remediate it.

May 30, 20266 min read
Application Security

AngularJS security fundamentals

AngularJS has been unpatched since January 2022, yet it still runs in production. Here's the CVE history, the sandbox saga, and how to find your exposure.

May 26, 20267 min read
Open Source

react-md-editor: Using @uiw/react-md-editor Securely

How to use react-md-editor safely: what @uiw/react-md-editor does, the XSS risk in markdown preview, and why rehype-sanitize is not optional for untrusted input.

May 24, 20266 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.