Hello all. I am new to ModX. Currently using MODX Revolution 2.2.14-pl.
My company have had a security audit, which states we have a content injection issue with our website. This is quite a loose definition of content injection, but it must be fixed nonetheless.
Our website has a 404 page configured for use in the general site settings. That works fine in almost all cases.
If the url contains an encoded slash "%2f", the usual 404 page is not displayed, and instead a generic 404 page is shown which will include any text in the url given, which can potentially ask the person browsing to go to a different site. Please see the attached file for an example of the "content injection".
You'd have to be a complete idiot to fall for something like that, but I have no choice but to be compliant with this security audit.
What can I do to force the usual 404 page in this case?
Many thanks in advance.
[ed. note: jzsjzs last edited this post 9 years, 11 months ago.]