CVE-2024-33831 Cross-site scripting in n/a
Attackers can execute arbitrary scripts in YAPI via stored XSS in the Advanced Expectation module, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-33831?
CVE-2024-33831 is a high-severity cross-site scripting vulnerability in n/a, published on 30 Apr 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-80
Which versions are affected by CVE-2024-33831?
How do I fix CVE-2024-33831?
No fix has been published for CVE-2024-33831 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-33831 being exploited?
There is no known exploitation of CVE-2024-33831 in the wild and no public exploit code.
Sources
Also known as GHSA-5626-x6h5-mpm4.