Skip to main content
VulnerabilityPublished Updated

CVE-2024-33831: yapi · A Stored Cross-site Scripting (XSS)

Affects yapiSource CVE Database V5

0

Not known to be exploited · CVSS 7.4 High.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubymfe/yapipkg:github/ymfe/yapiOther threatsAffected
  • =1.10.2
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.

References

Community reviews

Loading reviews…