Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4273

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-4273
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:59 UTC · Revision 1

Source evidence

CVE-2021-4273

core-osv · Original source

Published 21 Dec 2022, 19:15 UTC

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.

osv:CVE-2021-4273
Complete source record
{
  "id": "f87674a9c984ad1ecca6942079c4f99a0df51ee9ae33aa98a06ad5d38d73036d",
  "url": "https://osv.dev/vulnerability/CVE-2021-4273",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4273",
    "summary": "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.",
    "evidence": "osv:CVE-2021-4273",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-4273",
      "aliases": [
        "CVE-2021-4273"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/studygolang/studygolang",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "studygolang0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4273.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:02.249138945Z",
      "provider": "osv",
      "references": [
        "https://vuldb.com/?id.216478",
        "https://github.com/studygolang/studygolang/commit/97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23",
        "https://github.com/studygolang/studygolang/pull/158"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4273",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386755,
  "published_at": "2022-12-21T19:15:14.107+00:00"
}