문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
기술문서:레퍼런스:보안:xss [2026/03/23 13:59] carlito76 ↷ 문서가 etc:임시문서:기술문서:레퍼런스:보안:xss에서 기술문서:레퍼런스:보안:xss(으)로 이동되었습니다 |
기술문서:레퍼런스:보안:xss [2026/05/14 21:08] (현재) carlito76 |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| {{htmlmetatags> | {{htmlmetatags> | ||
| - | metatag-description=(XSS, | + | metatag-description=(XSS, |
| - | metatag-og: | + | metatag-og: |
| }} | }} | ||
| 줄 7: | 줄 7: | ||
| <note warning> | <note warning> | ||
| - | XSS (Cross Site Scripting) 공격과 방어 | + | XSS (Cross Site Scripting) 공격과 방어\\ \\ |
| + | <color red> | ||
| </ | </ | ||
| 줄 209: | 줄 210: | ||
| | onzoom ((Internet Explorer)) | <color gray> | | onzoom ((Internet Explorer)) | <color gray> | ||
| ((https:// | ((https:// | ||
| + | |||
| + | ==== HTML Metadata Element ==== | ||
| + | ^ 속성 | ||
| + | | meta | <meta http-equiv=" | ||
| + | | link | <color gray> | ||
| + | | style | <color gray> | ||
| + | | base | <base href="< | ||
| + | |||
| + | ==== HTML Executable Element ==== | ||
| + | ^ 속성 | ||
| + | | script | < | ||
| + | | object | FIXME | | ||
| + | | embed | FIXME | | ||
| + | | applet | FIXME | | ||
| + | | svg | FIXME | | ||
| + | | iframe | FIXME | | ||
| + | | frame | FIXME | | ||
| + | |||
| + | ==== 페이징 이동 ==== | ||
| + | <sxh javascript; gutter: true;> | ||
| + | location.href=' | ||
| + | location.replace(' | ||
| + | location.assign(' | ||
| + | window.location=' | ||
| + | document.location=' | ||
| + | top.location= ' | ||
| + | parent.location=' | ||
| + | self.location=' | ||
| + | |||
| + | location[' | ||
| + | location[' | ||
| + | location[' | ||
| + | window[' | ||
| + | document[' | ||
| + | top[' | ||
| + | parent[' | ||
| + | self[' | ||
| + | |||
| + | location=' | ||
| + | window.open(' | ||
| + | </ | ||
| ===== 방어 ===== | ===== 방어 ===== | ||
| 줄 218: | 줄 260: | ||
| * ' → ' | * ' → ' | ||
| * DOMPurify ((https:// | * DOMPurify ((https:// | ||
| - | * CSP 설정 | + | * CSP (Content-Security Policy) |
| * HttpOnly 설정 | * HttpOnly 설정 | ||