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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-21 · Modified: 2025-04-14
- Aliases: GHSA-gw62-c7w4-x449
- Record: https://cvemate.com/vulnerability/CVE-2021-4272 · JSON: https://cvemate.com/vulnerability/CVE-2021-4272/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.433%, percentile 39.361%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/studygolang studygolang (Go): ≤ 0.1.0
- studygolang studygolang: na
- unspecified studygolang: n/a

## References

- <https://github.com/studygolang/studygolang/commit/0fb30f9640bd5fa0cae58922eac6c00bb1a94391>
- <https://vuldb.com/?id.216477>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4272>
- <https://github.com/studygolang/studygolang>

---

Data as of 2026-12-05T04:22:24.221Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
