Description
By using java.security.ProtectionDomain.getClassLoader templates will get access to the classloader and from there can get filesystem access and more.
See:
https://github.com/apache/freemarker/pull/62
And
https://ackcent.com/blog/in-depth-freemarker-template-injection/