---
title: "Discussion on \"Cross-Site Scripting (XSS) in Java and React: Reflected and Stored XSS (Part 1)\" | Hashnode"
description: "Discussion on \"Cross-Site Scripting (XSS) in Java and React: Reflected and Stored XSS (Part 1)\". Prevent reflected and stored XSS in Java and React with practical examples of output encoding, safe rendering, and HTML sanitization."
url: "https://hashnode.com/posts/cross-site-scripting-xss-in-java-and-react-reflected-and-stored-xss-part-1/6af30aeb5f0f17eb1bf10a48"
---

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

Discussion

# [Cross-Site Scripting (XSS) in Java and React: Reflected and Stored XSS (Part 1)](https://securitydepth.hashnode.dev/cross-site-scripting-xss-in-java-and-react-reflected-and-stored-xss-part-1?utm_source=hashnode&utm_medium=feed)

Prevent reflected and stored XSS in Java and React with practical examples of output encoding, safe rendering, and HTML sanitization.

19h ago · 20 min read · securitydepth.hashnode.dev  
Read the article

-   [#xss](https://hashnode.com/tag/xss)
-   [#java](https://hashnode.com/tag/java)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#spring-boot](https://hashnode.com/tag/spring-boot)
-   [#application-security](https://hashnode.com/tag/application-security)

## Written by

[Milan Nikic](https://hashnode.com/@nick79)

@nick79 · Belgrade, Serbia

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

Secure coding patterns and security architecture insights

20+ years in software development, now focused on application security. Writing hands-on guides on secure coding patterns, vulnerability analysis, and security architecture.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
