<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Xss on Commentary of Takao</title><link>https://takao.blog/en/tags/xss/</link><description>Recent content in Xss on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sat, 13 Jun 2026 23:11:50 +0900</lastBuildDate><atom:link href="https://takao.blog/en/tags/xss/index.xml" rel="self" type="application/rss+xml"/><item><title>Defense Principles of XSS in Web Development</title><link>https://takao.blog/en/web/security-basics-xss-prevention/</link><pubDate>Tue, 25 Feb 2025 00:00:00 +0900</pubDate><guid>https://takao.blog/en/web/security-basics-xss-prevention/</guid><description>&lt;img src="https://takao.blog/img/thumnail.webp" alt="Featured image of post Defense Principles of XSS in Web Development" /&gt;&lt;h2 id="introduction"&gt;Introduction
&lt;/h2&gt;&lt;p&gt;In web security, &lt;strong&gt;Cross-Site Scripting (XSS)&lt;/strong&gt; stands as one of the oldest and most persistent vulnerabilities.&lt;/p&gt;
&lt;p&gt;If malicious scripts run on a victim&amp;rsquo;s browser, they can compromise the entire session, steal session tokens (cookies), hijack accounts, or dynamically alter page content to harvest sensitive credentials.&lt;/p&gt;
&lt;p&gt;This article reviews the fundamental defense principles required to eliminate XSS vulnerabilities in modern web applications. We will explore contextual escaping, sanitization, secure DOM manipulation, and defensive depth mechanisms.&lt;/p&gt;</description></item></channel></rss>