<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>XSS on and factory Tech Blog</title><link>https://andfactory.co.jp/techblog/tags/xss.html</link><description>Recent content in XSS on and factory Tech Blog</description><generator>Hugo</generator><language>ja</language><lastBuildDate>Mon, 17 Aug 2026 15:00:00 +0900</lastBuildDate><atom:link href="https://andfactory.co.jp/techblog/tags/xss/index.xml" rel="self" type="application/rss+xml"/><item><title>CSP は enforce か Report-Only か — GTM を使うサイトで変わる判断基準</title><link>https://andfactory.co.jp/techblog/posts/csp-enforce-vs-report-only-gtm.html</link><pubDate>Mon, 17 Aug 2026 15:00:00 +0900</pubDate><guid>https://andfactory.co.jp/techblog/posts/csp-enforce-vs-report-only-gtm.html</guid><description>同一ドメインで連携する3つの Next.js サイトに Content-Security-Policy を導入した記録。管理系サイトは enforce で即入ったが、GTM でマーケがタグを追加するユーザー向けサイトだけ enforce にできなかった。その理由を Google 公式ドキュメントで裏取りし、enforce / Report-Only / 2ヘッダ併用の使い分けと、Next.js での実装・検証まで整理しました。</description></item><item><title>Web アプリの XSS はどこから入るか — 4 つの侵入経路と多層防御モデル</title><link>https://andfactory.co.jp/techblog/posts/xss-attack-paths-multi-layer-defense.html</link><pubDate>Wed, 03 Jun 2026 15:00:00 +0900</pubDate><guid>https://andfactory.co.jp/techblog/posts/xss-attack-paths-multi-layer-defense.html</guid><description>XSS が今も現役な理由を、4つの侵入経路（Stored / Reflected / DOM-based / サプライチェーン・拡張機能）と多層防御モデル（CSP / レート制限 / トークン隔離 / 異常検知）で整理。better-auth の AT 保存設計を例に、攻撃経路 × 防御層のマトリクスで判断する考え方を示します。</description></item></channel></rss>