mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
27 lines (26 loc) • 756 B
YAML
rules:
- id: detect-disable-mustache-escape
message: >-
Markup escaping disabled. This can be used with some template engines to escape
disabling of HTML entities, which can lead to XSS attacks.
metadata:
cwe:
- 'CWE-116: Improper Encoding or Escaping of Output'
owasp:
- A03:2021 - Injection
source-rule-url: https://github.com/nodesecurity/eslint-plugin-security/blob/master/rules/detect-disable-mustache-escape.js
category: security
technology:
- mustache
subcategory:
- audit
likelihood: LOW
impact: MEDIUM
confidence: LOW
references:
- https://owasp.org/Top10/A03_2021-Injection
languages:
- javascript
- typescript
severity: WARNING
pattern: $OBJ.escapeMarkup = false