blob: bbeba5191ef511f72e4165df604bba1585c0b32d [file] [log] [blame]
{
"id": "GO-2022-0762",
"published": "2021-05-18T21:07:37Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2021-29272",
"GHSA-3x58-xr87-2fcj"
],
"details": "An XSS injection was possible because the sanitization of the Cyrillic character i bypass a protection mechanism against user-inputted HTML elements such as the \u003cscript\u003e tag.",
"affected": [
{
"package": {
"name": "github.com/microcosm-cc/bluemonday",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.5"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0762"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/microcosm-cc/bluemonday",
"symbols": [
"Policy.Sanitize",
"Policy.SanitizeBytes",
"Policy.SanitizeReader",
"Policy.sanitize"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/microcosm-cc/bluemonday/commit/524f142fe46e945b7dcd291d7805c4b7dcf75bee"
},
{
"type": "WEB",
"url": "https://github.com/microcosm-cc/bluemonday/issues/111"
},
{
"type": "WEB",
"url": "https://github.com/microcosm-cc/bluemonday/releases/tag/v1.0.5"
}
],
"schema_version": "1.3.1"
}