---
title: "Milan Nikic (@nick79) | Hashnode"
description: "Secure coding patterns and security architecture insights. Read the latest articles by Milan Nikic on Hashnode."
url: "https://hashnode.com/@nick79"
---

@nick79

# Milan Nikic

@nick79 · Belgrade, Serbia · Joined February 2026

Secure coding patterns and security architecture insights

### [Cross-Site Scripting (XSS) in Java and React: DOM-Based XSS and Modern Defenses (Part 2)](https://securitydepth.hashnode.dev/cross-site-scripting-xss-in-java-and-react-dom-based-xss-and-modern-defenses-part-2?utm_source=hashnode&utm_medium=feed)

Fix DOM-based XSS in React and Java apps: unsafe sinks, postMessage, Markdown and SVG risks, DOMPurify, strict CSP, Trusted Types, and CI checks.

28 min read · [securitydepth.hashnode.dev](https://securitydepth.hashnode.dev/cross-site-scripting-xss-in-java-and-react-dom-based-xss-and-modern-defenses-part-2?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/cross-site-scripting-xss-in-java-and-react-dom-based-xss-and-modern-defenses-part-2/6afad675f2027a9101ee8ec6)

### [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.

20 min read · [securitydepth.hashnode.dev](https://securitydepth.hashnode.dev/cross-site-scripting-xss-in-java-and-react-reflected-and-stored-xss-part-1?utm_source=hashnode&utm_medium=feed)

[Nov 10](https://hashnode.com/posts/cross-site-scripting-xss-in-java-and-react-reflected-and-stored-xss-part-1/6af30aeb5f0f17eb1bf10a48)

### [XML external entity injection: A security architect's perspective (Part 2)](https://securitydepth.hashnode.dev/xml-external-entity-injection-a-security-architect-s-perspective-part-2?utm_source=hashnode&utm_medium=feed)

Disabling DTDs in one parser doesn't scale. How to eliminate XXE architecturally: central parser policy, gateway validation, and dependency control.

18 min read · [securitydepth.hashnode.dev](https://securitydepth.hashnode.dev/xml-external-entity-injection-a-security-architect-s-perspective-part-2?utm_source=hashnode&utm_medium=feed)

[Oct 21](https://hashnode.com/posts/xml-external-entity-injection-a-security-architect-s-perspective-part-2/6ad8818ba7508b2879f9bd09)

### [XML external entity injection: Secure coding in Java](https://securitydepth.hashnode.dev/xml-external-entity-injection-secure-coding-in-java?utm_source=hashnode&utm_medium=feed)

Learn how XXE injection works in Java and Spring, which XML parsers are vulnerable by default, and how to configure them securely. Part 1.

24 min read · [securitydepth.hashnode.dev](https://securitydepth.hashnode.dev/xml-external-entity-injection-secure-coding-in-java?utm_source=hashnode&utm_medium=feed)

[Oct 12](https://hashnode.com/posts/xml-external-entity-injection-secure-coding-in-java/6accdf4a1923ddc65fd9dd33)

### [Server-Side Request Forgery: Security Architect's Perspective (Part 2)](https://securitydepth.hashnode.dev/server-side-request-forgery-security-architect-s-perspective-part-2?utm_source=hashnode&utm_medium=feed)

A security architect's guide to SSRF threat modeling, egress controls, cloud metadata hardening, compliance, metrics, and incident response.

17 min read · [securitydepth.hashnode.dev](https://securitydepth.hashnode.dev/server-side-request-forgery-security-architect-s-perspective-part-2?utm_source=hashnode&utm_medium=feed)

[Aug 18](https://hashnode.com/posts/server-side-request-forgery-security-architect-s-perspective-part-2/6a8410e6180319c7dd4d3430)
