Website contains SVN metadata directory

OWASP 2013-A5 OWASP 2017-A6 OWASP 2021-A5 WSTG-INFO-05

Subversion metadata directory (.svn) was found on your any website. The metadata is used to keep track of all the changes in the source code of the application before it is committed to the central repository. The .svn gets ended up on the live server if the files are copied directly from the repository. An attacker can easily extract sensitive information along with the source code of the application by requesting the hidden .svn metadata directory.


One of the significant impacts for this vulnerability is a significant data breach using the .svn file. The attacker will get the source code of the application along with sensitive information.

Mitigation / Precaution

Beagle recommends the following solutions:-

  • Restrict access to the .svn directory
        <Directory ~ "\.svn">
        Order allow,deny
        Deny from all


Latest Articles