Skip to content

chore(frontend): 보안 취약점 수정 — Dependabot 5건 + XSS 1건#784

Open
jk-kim0 wants to merge 2 commits intodevelopfrom
jk/chore-fix-security-alerts
Open

chore(frontend): 보안 취약점 수정 — Dependabot 5건 + XSS 1건#784
jk-kim0 wants to merge 2 commits intodevelopfrom
jk/chore-fix-security-alerts

Conversation

@jk-kim0
Copy link
Copy Markdown
Collaborator

@jk-kim0 jk-kim0 commented Apr 3, 2026

Description

  • GitHub Dependabot 보안 경고 5건을 pnpm overrides로 해결합니다
    • lodash@4 → 4.18.x (Code Injection via _.template, Prototype Pollution)
    • lodash-es@4 → 4.18.x (동일)
    • nanoid@4 → 5.x (Predictable results)
  • standalone/index.ts의 XSS 취약점을 수정합니다
    • innerHTMLtextContent + document.createElement + append로 변경
    • innerHTML allowlist에서 해당 파일 제거

Added/updated tests?

  • Yes — 기존 standalone 테스트 9건 모두 통과

Additional notes

  • CodeQL default setup은 false positive 비율이 높아(23건 중 22건) 별도로 비활성화 완료
  • bootstrap.test.ts의 tsc 오류는 기존 develop 코드 문제로, 이번 변경과 무관

- lodash@4, lodash-es@4 → 4.18.x override 추가 (Code Injection, Prototype Pollution)
- nanoid@4 → 5.x override 추가 (Predictable results)
- standalone/index.ts: innerHTML → DOM API로 변경하여 XSS 방지
- innerHTML allowlist에서 standalone/index.ts 제거

Co-Authored-By: Atlas <atlas@jk.agent>
@jk-kim0 jk-kim0 requested a review from keIIy-kim as a code owner April 3, 2026 16:44
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@jk-kim0 jk-kim0 self-assigned this Apr 4, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants