Advisory

GHSA-5f38-9jw2-6r6h

Also known as: CVE-2021-23447, SNYK-JS-TEDDY-1579557

Summary

Cross-site Scripting in teddy

Details

Teddy is a readable and easy to learn templating language. This affects the package teddy before 0.5.9. A type confusion vulnerability can be used to bypass input sanitization when the model content is an array (instead of a string).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-10-12 16:22 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

teddy

npm · All systems

Affected

  • introduced 0, fixed 0.5.9 (semver)

Fixed versions

0.5.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences