{"action":"Upgrade detect-character-encoding to 0.7.0 or later.","affected":[{"fixed":"0.7.0","introduced":"0"}],"component":"detect-character-encoding","cve_ids":["CVE-2021-39157"],"ecosystem":"npm","epss":0.02068,"exploited":false,"fixed_versions":["0.7.0"],"ghsa_id":"GHSA-jqfh-8hw5-fqjr","id":"tcs_01M5KFYNM1DQ9K1Q3PEK90PMX2","modified_at":"2026-07-08T06:29:33.959441802Z","published_at":"2021-08-25T14:44:48Z","references":["https://osv.dev/vulnerability/GHSA-jqfh-8hw5-fqjr","https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjr","https://nvd.nist.gov/vuln/detail/CVE-2021-39157","https://github.com/sonicdoe/detect-character-encoding/issues/15","https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20a","https://github.com/sonicdoe/detect-character-encoding","https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.7.0"],"severity":{"label":"high","score":7.5},"sources":[{"source":"osv","source_id":"GHSA-jqfh-8hw5-fqjr","url":"https://osv.dev/vulnerability/GHSA-jqfh-8hw5-fqjr"}],"summary":"Improper Handling of Exceptional Conditions in detect-character-encoding"}