Security Advisory: Constrain and validate userscript WebSocket tasks

Author: failsafesecurityCreated Sep 17, 2026Updated Sep 17, 2026

Security Improvement

A security improvement has been submitted via PR #483: https://github.com/JoeanAmier/XHS-Downloader/pull/483

Summary: Constrain and validate userscript WebSocket tasks

This PR was generated by an automated security scan and has passed focused tests. Please review the PR for details and merge at your discretion.


Submitted by: @failsafesecurity (FailSafe Security Research)

Source: JoeanAmier/XHS-Downloader