# CVE-2021-23824: Content Injection

- Severity: Medium 6.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-13T14:10:20.047Z
- Modified: 2026-06-17T03:38:53.733Z
- Weaknesses: CWE-79
- 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.

(As written by CVE List.)

## Affected

- Crow: from unspecified before 0.3+4
- crowcpp crow: before 0.3\+4

## Every score

- snyk: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-UNMANAGED-CROW-2336164> (exploit, third-party-advisory)
- <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)

## Sources

- CVE List: [CVE-2021-23824](https://www.cve.org/CVERecord?id=CVE-2021-23824), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-23824](https://nvd.nist.gov/vuln/detail/CVE-2021-23824), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23824 · Whole record: https://cve.day/CVE-2021-23824.json · Rebuilt by cve.day 2026-11-25T22:58:06.488Z
