CVE-2021-23824
JSON

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 packageVersionsReported by
Crowfrom unspecified before 0.3+4CVE List
crowcpp crowbefore 0.3\+4NVD

All scores

snyk6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV: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/317issue-tracking, patch, third-party-advisory
https://github.com/CrowCpp/Crow/releases/tag/v0.3%2B4release-notes, third-party-advisory
https://snyk.io/vuln/SNYK-UNMANAGED-CROW-2336164exploit, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-23824 changed 2024-09-16CVE Terms of Use
NVDCVE-2021-23824 changed 2026-06-17Public domain