Safeguard
Tag

xss

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

88 articles

Vulnerability Analysis

What is Cross-Site Scripting (XSS)

XSS lets attackers inject malicious JavaScript into trusted pages. Learn how stored, reflected, and DOM-based XSS work, real breaches, and defenses.

Apr 1, 20267 min read
Open Source

react-number-format: A Security Guide for Safe Input Handling

react-number-format is a popular library for formatting numeric and masked inputs. Here is how to use it without opening XSS or validation gaps.

Mar 31, 20265 min read
Open Source

marked on npm: Security Review and Safe Usage

marked is a fast Markdown parser, but it does not sanitize output and older versions carried a ReDoS bug. Here is how to use marked npm without opening an XSS hole.

Mar 25, 20265 min read
Security

CVE-2021-41183: jQuery UI Datepicker XSS and How to Fix It

CVE-2021-41183 is a cross-site scripting flaw in the jQuery UI Datepicker's *Text options, fixed in 1.13.0. Here is the risk and the remediation.

Mar 25, 20265 min read
AppSec

DOM-Based XSS Attacks: How They Work and How to Prevent Them

A DOM based XSS attack executes entirely in the browser, which is why your server-side filters and access logs never see it. Here is how the source-to-sink flow works and what actually stops it.

Mar 24, 20267 min read
Security

JavaScript Security Best Practices Every Team Should Actually Follow

Most JavaScript security incidents come from a handful of repeated mistakes. These are the best practices that prevent them, from XSS to the npm dependency graph.

Mar 23, 20265 min read
AppSec

The xss npm Package: Sanitizing HTML Input Correctly

The xss npm package is a whitelist-based HTML sanitizer for Node and the browser. It works well — when you sanitize in the right place, with the right whitelist, for the right output context.

Mar 21, 20267 min read
Application Security

Secure Patterns for LLM Output Handling in 2026

LLM02 on the OWASP LLM Top 10 keeps quietly producing incidents because downstream systems trust model outputs they should not. Concrete patterns that hold up.

Mar 4, 20265 min read
Vulnerabilities

CVE-2019-8331: The Bootstrap XSS Vulnerability, Explained

CVE-2019-8331 let attackers inject script through Bootstrap's tooltip and popover template options, a pattern that recurred across several Bootstrap CVEs before 4.3.1 finally closed it.

Feb 27, 20264 min read
Vulnerabilities

What Is XSS? Cross-Site Scripting Full Form and Basics

XSS is short for cross-site scripting, a vulnerability that lets attackers run malicious scripts in a victim's browser. Here's how it works, its three main types, and how it's actually caught.

Feb 26, 20265 min read
Vulnerabilities

jQuery 3.5.1 Vulnerabilities: What Was Actually Fixed

jQuery 3.5.1 closed a second cross-site scripting hole in the htmlPrefilter regex that 3.5.0 had only partially patched — here's exactly what changed and why old jQuery bundles still trip scanners.

Feb 18, 20265 min read
Application Security

React Application Security Guide

Securing React applications from XSS, dependency vulnerabilities, and common frontend attack patterns.

Feb 11, 20265 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.