security fix #10018 from Agel_Nash

https://github.com/AgelxNash/evolution/commit/e69762d1f1861a68dcc89be4e2
fe63e8198a5a35