CVE-2021-4272: studygolang topics.js cross site scripting
Vulnerability summary
CVE-2021-4272 is a medium (CVSS 6.1) Improper Neutralization vulnerability in studygolang. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.3% of scored vulnerabilities.
Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 21-12-2022PublishedVulnerability first disclosed.
- 14-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.42% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-707Improper NeutralizationThe product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being used when received from an upstream component, or before being sent to a downstream component.
- CWE-79Improper Neutralization of Input During Web Page GenerationThe product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/studygolang1 product
- studygolang≤ 0.1.0
Studygolang1 product
Unspecified1 product
- studygolangn/a
3 vendors · 3 products
References
4 links- github.com/studygolang/studygolang/commit/0fb30f9640bd5fa0cae58922eac6c00bb1a94391WEBPatchThird Party Advisory