# CVE-2020-21246: YiiCMS Cross Site Scripting vulnerability

- 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.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-20T00:00:00.000Z
- Modified: 2026-06-17T03:03:36.750Z
- Also known as: GHSA-gqr4-cvf4-3957
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Cross Site Scripting vulnerability in YiiCMS v.1.0 allows a remote attacker to execute arbitrary code via the news function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sheng/yiicms (Packagist): before 1.2.1
- yiicms_project yiicms: 1.0

## 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/yongshengli/yiicms/issues/6> (exploit, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-21246> (advisory)
- <https://github.com/yongshengli/yiicms/commit/4a9d68564eb78d9f64e3f5dd77186a154093615b> (web)
- <https://github.com/yongshengli/yiicms> (package)

## Sources

- CVE List: [CVE-2020-21246](https://www.cve.org/CVERecord?id=CVE-2020-21246), CVE Terms of Use, modified 2024-12-10
- GitHub Advisory Database: [GHSA-gqr4-cvf4-3957](https://github.com/advisories/GHSA-gqr4-cvf4-3957), CC-BY-4.0, modified 2024-12-10
- NVD: [CVE-2020-21246](https://nvd.nist.gov/vuln/detail/CVE-2020-21246), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-21246 · Whole record: https://cve.day/CVE-2020-21246.json · Rebuilt by cve.day 2026-11-25T22:57:58.873Z
