CVE-2024-33831: yapi · A Stored Cross-site Scripting (XSS)
Affects yapiSource CVE Database V5
Not known to be exploited · CVSS 7.4 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 42% 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:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Apr 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 |
|---|---|---|
GitHubymfe/yapipkg:github/ymfe/yapiOther 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-33831 effectively, organizations should first upgrade yapi to a version where this vulnerability is patched once available. In the interim, implement strict input validation on the 'body' field within the Advanced Expectation - Response module to reject or sanitize any HTML or script content. Employ robust output encoding or context-aware escaping to neutralize any injected scripts before rendering content in users' browsers. Restrict access to the vulnerable module to trusted users only, minimizing exposure to untrusted or anonymous users. Use Content Security Policy (CSP) headers to limit the execution of unauthorized scripts and reduce the impact of potential XSS payloads. Monitor logs and user activity for suspicious input patterns or unusual behavior indicative of exploitation attempts. Educate users about the risks of interacting with untrusted links or content within the yapi environment. Finally, conduct regular security assessments and code reviews focusing on input handling and sanitization to prevent similar vulnerabilities.
Description
A stored cross-site scripting (XSS) vulnerability in the Advanced Expectation - Response module of yapi v1.10.2 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the body field.