CVE-2021-36686 Cross-site Scripting in yapi-vendor
Attackers can execute arbitrary code via XSS in the YAPI interface API edit page, compromising user sessions and data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-36686?
CVE-2021-36686 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting (XSS) vulnerability in yapi 1.9.1 allows attackers to execute arbitrary code via the /interface/api edit page.
Weakness: CWE-79
Which versions are affected by CVE-2021-36686?
2 open source packages ship an affected version, including yapi-vendor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yapi-vendor npm | All versions to 1.9.1 | None |
yapi-vendor npm | All versions to 1.9.1 | None |
Products include Ymfe Yapi.
How do I fix CVE-2021-36686?
No fix has been published for CVE-2021-36686 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-2021-36686 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-36686 exists.
Other vulnerabilities in n/a
Sources
Also known as CVE-2021-33237, GHSA-4jqw-vfmj-9rmh.