From c910c4d28717fb860fbe064736641f379fab2c91 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 28 Feb 2023 10:52:32 +0000 Subject: [PATCH] fix: brief parameter xss vulnerability --- lib/middleware/parameter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleware/parameter.js b/lib/middleware/parameter.js index 1a89e63e0ce22f..446433e398c3bd 100644 --- a/lib/middleware/parameter.js +++ b/lib/middleware/parameter.js @@ -313,7 +313,7 @@ module.exports = async (ctx, next) => { } }); } else { - throw Error(`Invalid parameter brief=${ctx.query.brief}. Please check the doc https://docs.rsshub.app/parameter.html#shu-chu-jian-xun`); + throw Error(`Invalid parameter brief. Please check the doc https://docs.rsshub.app/parameter.html#shu-chu-jian-xun`); } }