发布

  • feat(htmlsanitize): add HTML and JSON sanitization utilities with integration across plugins and APIs

    frostbyte_neo 发布于 2026-06-12 17:10:27 +00:00 | 632 次提交 在此版本后已推送到 main

    • Introduced htmlsanitize package for escaping HTML and handling JSON body sanitization to prevent XSS vulnerabilities.
    • Integrated sanitization functions into plugin store, plugin host, and API management handlers to ensure all user-facing content is escaped.
    • Added unit tests to verify proper escaping of HTML strings, JSON bodies, and nested data structures.
    • Updated existing management and plugin-related tests to validate sanitization implementations.
    下载附件