CVE-2024-42816: fastapi-admin-pro · A Cross-site Scripting (XSS)
Affects fastapi-admin-proSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIfastapi-admin-propkg:pypi/fastapi-admin-proOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-42816, organizations should implement strict input validation and output encoding on all user-supplied data, especially the Product Name parameter in the Create Product function. Employ context-aware encoding (e.g., HTML entity encoding) to neutralize any injected scripts before rendering. Use Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser. Regularly update fastapi-admin pro to the latest version once an official patch is released. In the absence of a patch, consider applying temporary workarounds such as disabling or restricting access to the vulnerable Create Product functionality to trusted users only. Conduct security awareness training for administrators to recognize and avoid interacting with suspicious inputs. Implement web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting this parameter. Finally, perform regular security testing, including automated scanning and manual code reviews, to identify and remediate similar injection flaws proactively.
Description
A cross-site scripting (XSS) vulnerability in the Create Product function of fastapi-admin pro v0.1.4 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Product Name parameter.