# XS leaks: What they are and how to avoid them

DevFeed: [XS leaks: What they are and how to avoid them](<https://devfeed.tech/articles/xs-leaks-what-they-are-and-how-to-avoid-them-8258.md>)

Original publisher: [Read original article](<https://snyk.io/blog/xs-leaks/>)

Author: Gino Diño

Published: 2023-07-17T05:00:00Z

Content type: tutorial

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [awareness](<https://devfeed.tech/tags/awareness.md>), [blog](<https://devfeed.tech/tags/blog.md>), [browser](<https://devfeed.tech/tags/browser.md>), [code-security](<https://devfeed.tech/tags/code-security.md>), [contentlab](<https://devfeed.tech/tags/contentlab.md>), [developer](<https://devfeed.tech/tags/developer.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [security](<https://devfeed.tech/tags/security.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>)

## AI overview

The article explains cross-site leaks (XS leaks), web security vulnerabilities that can expose sensitive data from a user's activity on other websites. It describes how browser and web features can be exploited, including timing attacks involving cross-origin requests, and introduces prevention examples.

## Source excerpt

In this article, we'll dive deeper into what XS leaks are and how they occur. Then, we'll review some hands-on examples of how to prevent them.