# CVE-2021-4273: studygolang search.go Search cross site scripting

- Severity: Medium 4.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-12-21T00:00:00.000Z
- Modified: 2026-06-17T04:19:23.987Z
- Weaknesses: CWE-79, CWE-707
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic was found in studygolang. This vulnerability affects the function Search of the file http/controller/search.go. The manipulation of the argument q leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23. It is recommended to apply a patch to fix this issue. VDB-216478 is the identifier assigned to this vulnerability.

(As written by CVE List.)

## Affected

- unspecified studygolang: n/a
- studygolang studygolang: no versions given

## Every score

- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/studygolang/studygolang/pull/158> (patch, third-party-advisory)
- <https://github.com/studygolang/studygolang/commit/97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23> (patch, third-party-advisory)
- <https://vuldb.com/?id.216478> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-4273](https://www.cve.org/CVERecord?id=CVE-2021-4273), CVE Terms of Use, modified 2025-04-14
- NVD: [CVE-2021-4273](https://nvd.nist.gov/vuln/detail/CVE-2021-4273), Public domain, modified 2026-06-17

---

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