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.
{
"cwe_ids": [
"CWE-79"
],
"nvd_published_at": "2024-10-15T05:15:11Z",
"github_reviewed_at": "2024-10-15T17:36:26Z",
"severity": "MODERATE",
"github_reviewed": true
}