2022-02-24 15:04:11 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2022-07-12 15:15:43 +01:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2022-07-12T14:15:41.933572Z" ,
2022-02-24 15:04:11 +00:00
"ID" : "CVE-2022-25875" ,
2022-07-12 15:15:43 +01:00
"STATE" : "PUBLIC" ,
"TITLE" : "Cross-site Scripting (XSS)"
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "svelte" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_value" : "3.49.0"
}
]
}
}
]
} ,
"vendor_name" : "n/a"
}
]
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Cross-site Scripting (XSS)"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
2022-07-12 19:00:41 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-JS-SVELTE-2931080" ,
"name" : "https://snyk.io/vuln/SNYK-JS-SVELTE-2931080"
2022-07-12 15:15:43 +01:00
} ,
{
2022-07-12 19:00:41 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990" ,
"name" : "https://github.com/sveltejs/svelte/pull/7530%23issuecomment-1158575990"
2022-07-12 15:15:43 +01:00
} ,
{
2022-07-12 19:00:41 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907" ,
"name" : "https://github.com/sveltejs/svelte/commit/f8605d6acbf66976da9b4547f76e90e163899907"
2022-07-12 15:15:43 +01:00
}
]
2022-02-24 15:04:11 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-07-12 19:00:41 +00:00
"value" : "The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function."
2022-02-24 15:04:11 +00:00
}
]
2022-07-12 15:15:43 +01:00
} ,
"impact" : {
"cvss" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P" ,
"baseScore" : 5.4 ,
"baseSeverity" : "MEDIUM" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "NONE"
}
} ,
"credit" : [
{
"lang" : "eng" ,
"value" : "Maur\u00edcio Kishi"
}
]
2022-02-24 15:04:11 +00:00
}