First, I am not sure if this is right place to put my question. But it relate to ngnix configuration done by certbot on my server. It add following line for domain in configuration
location ~ "^/.well-known/acme-challenge/(.*)$" {
default_type text/plain;
return 200 "$1.JNpbG5iba8ymsxdlOr_9u1lAMl4jlh8gr-rAXwFysMM"; }
This results in Url activate with inline insert to HTML i.e. if a user call http://domain/.well-known/acme-challenge/<h1>tag</h1>
then a HTML page appears with that h1 tag, which is recorded as High security risk in our security scan.
I am not sure how to fix, and if it is really a security problem? as it is not related to my code files, and it cannot access our files or database directly. but certainly it can be used for forgery and related hacks.
Please guide me.