6.5medium
Content Injection
- Severity
- 6.5medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.95% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
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
| Product or package | Versions | Reported by |
|---|---|---|
| Crow | from unspecified before 0.3+4 | CVE List |
| crowcpp crow | before 0.3\+4 | NVD |
All scores
| snyk | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta al paquete Crow versiones anteriores a 0.3+4. Cuando son usados atributos sin comillas en la plantilla, un atacante puede manipular la entrada para introducir atributos adicionales, ejecutando potencialmente código. Esto puede conllevar a una vulnerabilidad de tipo Cross-site Scripting (XSS), suponiendo que un atacante pueda influir en el valor introducido en la plantilla. Si la plantilla es usada para renderizar contenido generado por el usuario, esta vulnerabilidad puede escalar a una vulnerabilidad de tipo XSS persistente
References
| https://github.com/CrowCpp/Crow/pull/317 | issue-tracking, patch, third-party-advisory | |
| https://github.com/CrowCpp/Crow/releases/tag/v0.3%2B4 | release-notes, third-party-advisory | |
| https://snyk.io/vuln/SNYK-UNMANAGED-CROW-2336164 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23824 changed 2024-09-16 | CVE Terms of Use |
| NVD | CVE-2021-23824 changed 2026-06-17 | Public domain |