2023-12-22 13:01:03 +00:00
{
2024-10-15 05:00:31 +00:00
"data_version" : "4.0" ,
2023-12-22 13:01:03 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2024-21535" ,
2024-10-15 05:00:31 +00:00
"ASSIGNER" : "report@snyk.io" ,
"STATE" : "PUBLIC"
2023-12-22 13:01:03 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-10-15 05:00:31 +00:00
"value" : "Versions of the package markdown-to-jsx before 7.4.0 are vulnerable to Cross-site Scripting (XSS) via the src property due to improper input sanitization. An attacker can execute arbitrary code by injecting a malicious iframe element in the markdown."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Cross-site Scripting (XSS)" ,
"cweId" : "CWE-79"
}
]
}
]
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "n/a" ,
"product" : {
"product_data" : [
{
"product_name" : "markdown-to-jsx" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_name" : "0" ,
"version_value" : "7.4.0"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886" ,
"refsource" : "MISC" ,
"name" : "https://security.snyk.io/vuln/SNYK-JS-MARKDOWNTOJSX-6258886"
} ,
{
"url" : "https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a" ,
"refsource" : "MISC" ,
"name" : "https://github.com/quantizor/markdown-to-jsx/commit/8eb74da825c0d8d2e9508d73c672bcae36ba555a"
}
]
} ,
"credits" : [
{
"lang" : "en" ,
"value" : "Rustam Komildzhonov"
}
] ,
"impact" : {
"cvss" : [
{
"version" : "3.1" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 6.1 ,
"baseSeverity" : "MEDIUM" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"
2023-12-22 13:01:03 +00:00
}
]
}
}