blob: 8bb49c9827a7ade5c071f4b12d8c79fd23689f39 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0762",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-05-18T21:07:37Z",
"aliases": [
"CVE-2021-29272",
"GHSA-3x58-xr87-2fcj"
],
"summary": "Cross-site scripting due to incorrect sanitization in github.com/microcosm-cc/bluemonday",
"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"
}
]
}
],
"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"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0762",
"review_status": "REVIEWED"
}
}