GHSA-5f38-9jw2-6r6h

Suggest an improvement
Source
https://github.com/advisories/GHSA-5f38-9jw2-6r6h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-5f38-9jw2-6r6h/GHSA-5f38-9jw2-6r6h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5f38-9jw2-6r6h
Aliases
Published
2021-10-12T16:22:04Z
Modified
2025-01-14T09:12:15.747487Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
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).

Database specific
{
    "nvd_published_at": "2021-10-07T17:15:00Z",
    "github_reviewed_at": "2021-10-08T21:52:26Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79",
        "CWE-843"
    ]
}
References

Affected packages

npm / teddy

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.9