# 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 ...

Advisory record · `GHSA-9mq4-9556-6qxq`

- **Identifiers:** `GHSA-9mq4-9556-6qxq` · `CVE-2021-4315` · `PYSEC-2023-43`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-1336](https://cwe.mitre.org/data/definitions/1336.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 28 Jan 2023
- **Updated:** 10 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 Jan 2023, 23:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `psiturk` (PyPI): affected `<47787e15cecd66f2aa87687bf852ae0194a4335f || <3.2.1`; fixed in `47787e15cecd66f2aa87687bf852ae0194a4335f`, `3.2.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> psiTurk versions up to 3.2.0 are affected. Improper neutralization of special elements in a template engine can be triggered through the mode argument, but the source gives few details about what access an attacker needs or what they can do. Upgrade to psiTurk 3.2.1, which fixes the issue. The source states that a public exploit has been disclosed.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`, from CNA (VulDB)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0092, the 60th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 28 Jan 2023. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-9mq4-9556-6qxq](https://github.com/advisories/GHSA-9mq4-9556-6qxq)
- [OSV: GHSA-9mq4-9556-6qxq](https://osv.dev/vulnerability/GHSA-9mq4-9556-6qxq)
- <https://github.com/NYUCCL/psiTurk/releases/tag/v3.2.1>
- <https://vuldb.com/?ctiid.219676>
- <https://vuldb.com/?id.219676>
- <https://github.com/NYUCCL/psiTurk/commit/47787e15cecd66f2aa87687bf852ae0194a4335f>
- <https://github.com/NYUCCL/psiTurk/pull/517>
- <https://github.com/NYUCCL/psiTurk/pull/517>
- <https://github.com/advisories/GHSA-9mq4-9556-6qxq>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-9mq4-9556-6qxq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9mq4-9556-6qxq/>. Everything for agents: <https://agentprime.io/llms.txt>.
