# CVE-2021-36686: Cross-site Scripting in yapi-vendor

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-26T00:00:00.000Z
- Modified: 2026-06-17T03:59:00.140Z
- Also known as: GHSA-4jqw-vfmj-9rmh
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Cross Site Scripting (XSS) vulnerability in yapi 1.9.1 allows attackers to execute arbitrary code via the /interface/api edit page.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yapi-vendor (npm): up to 1.9.1
- ymfe yapi: 1.9.1

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/YMFE/yapi/issues/2190> (exploit, third-party-advisory, web)
- <https://github.com/YMFE/yapi/issues/2240> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36686> (advisory)
- <https://github.com/YMFE/yapi> (package)

## Sources

- CVE List: [CVE-2021-36686](https://www.cve.org/CVERecord?id=CVE-2021-36686), CVE Terms of Use, modified 2025-04-01
- GitHub Advisory Database: [GHSA-4jqw-vfmj-9rmh](https://github.com/advisories/GHSA-4jqw-vfmj-9rmh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-36686](https://nvd.nist.gov/vuln/detail/CVE-2021-36686), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36686 · Whole record: https://cve.day/CVE-2021-36686.json · Rebuilt by cve.day 2026-11-25T22:58:08.147Z
