mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-16 07:33:06 +08:00
HTML-encode user-supplied key names in both Create and Update endpoints. Previously, names were stored verbatim — an attacker could inject script tags that would execute in admin panels or any view using innerHTML/v-html rendering. Fixes: CWE-79 (Stored Cross-Site Scripting)