2022-09-14 01:40:34 +03:00
{
2023-03-31 23:44:23 +03:00
"schema_version" : "1.3.1" ,
2022-09-14 01:40:34 +03:00
"id" : "GO-2022-0762" ,
"modified" : "0001-01-01T00:00:00Z" ,
2023-03-31 23:44:23 +03:00
"published" : "2021-05-18T21:07:37Z" ,
2022-09-14 01:40:34 +03:00
"aliases" : [
"CVE-2021-29272" ,
"GHSA-3x58-xr87-2fcj"
] ,
2023-11-20 21:19:14 +03:00
"summary" : "Cross-site scripting due to incorrect sanitization in github.com/microcosm-cc/bluemonday" ,
2022-10-05 19:05:17 +03:00
"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." ,
2022-09-14 01:40:34 +03:00
"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"
}
2022-11-21 21:47:08 +03:00
] ,
2023-03-31 23:44:23 +03:00
"database_specific" : {
2024-05-14 22:19:00 +03:00
"url" : "https://pkg.go.dev/vuln/GO-2022-0762" ,
"review_status" : "REVIEWED"
2023-03-31 23:44:23 +03:00
}
2022-09-14 01:40:34 +03:00
}