Skip to content

Commit

Permalink
Update SECURITY.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Mar 27, 2023
1 parent 689ca02 commit 828cea1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion SECURITY.md
Expand Up @@ -19,4 +19,14 @@ To ensure the timely response to your report, please ensure that the entirety of
The EJS team will then evaluate your report and will reply with the next steps in handling your report and may ask for additional information or guidance.

## Out-of-Scope Vulnerabilities
If you give end-users unfettered access to the EJS render method, you are using EJS in an inherently un-secure way. Please do not report security issues that stem from doing that. EJS is effectively a JavaScript runtime. Its entire job is to execute JavaScript. If you run the EJS render method without checking the inputs yourself, you are responsible for the results.
If you give end-users unfettered access to the EJS render method, you are using EJS in an inherently un-secure way. Please do not report security issues that stem from doing that.

EJS is effectively a JavaScript runtime. Its entire job is to execute JavaScript. If you run the EJS render method without checking the inputs yourself, you are responsible for the results.

In short, DO NOT send reports including this snippet of code:

```javascript
app.get('/', (req, res) => {
res.render('index', req.query);
});
```

0 comments on commit 828cea1

Please sign in to comment.