Vulnerability · Published Jan 13, 2022 · Assigned by snyk
CVE-2021-23824Content Injection
Medium 6.5
In plain English
A medium-severity security flaw in Crow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 61% of all known vulnerabilities).
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.0%top 38.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package Crow before 0.3+4. When using attributes without quotes in the template, an attacker can manipulate the input to introduce additional attributes, potentially executing code. This may lead to a Cross-site Scripting (XSS) vulnerability, assuming an attacker can influence the value entered into the template. If the template is used to render user-generated content, this vulnerability may escalate to a persistent XSS vulnerability.
Affected products (as reported)
References
- https://github.com/CrowCpp/Crow/pull/317 x_refsource_MISC
- https://github.com/CrowCpp/Crow/releases/tag/v0.3%2B4 x_refsource_MISC
- https://snyk.io/vuln/SNYK-UNMANAGED-CROW-2336164 x_refsource_MISC