Remote attackers can disable HTML escaping by providing engine options within the render data passed to the `renderFile()` function. By submitting keys such as `autoEscape: false` through user-controlled data, such as the Express `req.body` variable, attackers can inject malicious scripts. This injection persists for subsequent renders when template caching is enabled.