# CVE-2021-4315: NYUCCL psiTurk experiment.py special elements used in a template engine

- Severity: Medium 5.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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: 2023-01-28T22:58:03.669Z
- Modified: 2026-06-17T04:19:29.460Z
- Also known as: GHSA-9mq4-9556-6qxq, PYSEC-2023-43
- Weaknesses: CWE-94, CWE-1336
- Assigned by: VulDB

## Description

A vulnerability has been found in NYUCCL psiTurk up to 3.2.0 and classified as critical. This vulnerability affects unknown code of the file psiturk/experiment.py. The manipulation of the argument mode leads to improper neutralization of special elements used in a template engine. The exploit has been disclosed to the public and may be used. Upgrading to version 3.2.1 is able to address this issue. The name of the patch is 47787e15cecd66f2aa87687bf852ae0194a4335f. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-219676.

(As written by CVE List.)

## Affected

- NYUCCL psiTurk: 3.0; 3.1; 3.2
- psiturk (PyPI): before 3.2.1; before 47787e15cecd66f2aa87687bf852ae0194a4335f
- psiturk psiturk: before 3.2.1

## Every score

- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.2 Medium `AV:A/AC:L/Au:S/C:P/I:P/A:P`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/NYUCCL/psiTurk/pull/517> (exploit, evidence, fix, issue-tracking, web)
- <https://vuldb.com/?id.219676> (permissions-required, technical-description, vdb-entry, web)
- <https://vuldb.com/?ctiid.219676> (permissions-required, signature, web)
- <https://github.com/NYUCCL/psiTurk/commit/47787e15cecd66f2aa87687bf852ae0194a4335f> (fix, patch, web)
- <https://github.com/NYUCCL/psiTurk/releases/tag/v3.2.1> (patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4315> (advisory)
- <https://github.com/NYUCCL/psiTurk> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/psiturk/PYSEC-2023-43.yaml> (web)
- <https://github.com/advisories/GHSA-9mq4-9556-6qxq> (advisory)

## Sources

- CVE List: [CVE-2021-4315](https://www.cve.org/CVERecord?id=CVE-2021-4315), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9mq4-9556-6qxq](https://github.com/advisories/GHSA-9mq4-9556-6qxq), CC-BY-4.0, modified 2024-10-18
- NVD: [CVE-2021-4315](https://nvd.nist.gov/vuln/detail/CVE-2021-4315), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-43](https://osv.dev/vulnerability/PYSEC-2023-43), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-4315 · Whole record: https://cve.day/CVE-2021-4315.json · Rebuilt by cve.day 2026-11-25T22:24:37.125Z
