---
title: "Discussion on \"Content Security Policy - protect your website from XSS attacks\" | Hashnode"
description: "Discussion on \"Content Security Policy - protect your website from XSS attacks\". Problem\nIt's very common while building any project we use certain third party libraries, in the case of Javascript; npm packages, which recursively use more packages, and eventually your code includes a huge chunk of third party code.There is nothin..."
url: "https://hashnode.com/posts/content-security-policy-protect-your-website-from-xss-attacks/5fcf760aa38e1f208d80d50a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Content Security Policy - protect your website from XSS attacks](https://championshuttler.in/content-security-policy-protect-your-website-from-xss-attacks?utm_source=hashnode&utm_medium=feed)

Problem It's very common while building any project we use certain third party libraries, in the case of Javascript; npm packages, which recursively use more packages, and eventually your code includes a huge chunk of third party code.There is nothin...

Dec 8, 2020 · 6 min read · championshuttler.in  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Shivam Singhal](https://hashnode.com/@championshuttler)

@championshuttler · India

  
[View profile](https://hashnode.com/@championshuttler)

Pushing Bugs to Production

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
