LiveActive security incident?Get immediate response
CVE Record

CVE-2021-46251: A reflected cross-site scripting (XSS) in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb...

A reflected cross-site scripting (XSS) in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb293 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.

MediumCVSS 6.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-46251 is a reflected XSS issue in ScratchOAuth2 before a specific fixing commit. An attacker could make a user submit a crafted request that causes script or HTML to run in the user’s browser. Business impact is mainly account/session risk and trust damage where ScratchOAuth2 is exposed to users.

Executive priority

Handle as a moderate-priority web security fix. It is not evidenced as actively exploited, but it affects browser trust boundaries and may touch OAuth-related user flows. Patch exposed deployments promptly after confirming use.

Technical view

The CVE describes reflected cross-site scripting in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb293. The CVSS 3.1 score is 6.1 with network attack vector, low complexity, no privileges required, user interaction required, changed scope, and low confidentiality and integrity impact. Affected version metadata is incomplete in the source bundle.

Likely exposure

Exposure is likely limited to organizations running ScratchOAuth2 code older than the referenced commit. The CVE record does not provide CPEs, package names, release numbers, or downstream product mappings, so teams must verify use by source, dependency, or deployment inventory.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. Exploitation requires user interaction and a crafted POST request. Treat internet-facing ScratchOAuth2 instances as higher priority, especially where authenticated users, OAuth flows, or trusted browser sessions are involved.

Researcher notes

The record lacks precise affected versions, CPEs, and CWE tagging. The strongest source evidence is the CVE description and the referenced GitHub commit. Avoid broad product assumptions; validate exposure by repository revision or deployed code lineage.

Mitigation direction

  • Update ScratchOAuth2 to a revision containing commit 1603f04e44ef67dde6ccffe866d2dca16defb293.
  • If using a packaged release, check maintainer guidance for the fixed version.
  • Prioritize internet-facing or authentication-related deployments first.
  • Apply standard output encoding and input handling controls where local patches are required.

Validation and detection

  • Inventory services, repositories, and deployments using ScratchOAuth2.
  • Confirm deployed code includes the referenced fixing commit.
  • Review exposed ScratchOAuth2 endpoints and authentication flows.
  • Check logs for unusual POST activity against ScratchOAuth2 routes.
  • In authorized staging, verify POST-derived values are not reflected as executable content.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-46251 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:N/S:C/UI:R

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.1CVSS 3.1MediumCVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:N/S:C/UI:R2.82.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.1Medium
CVSS 3.1 vector shape for CVE-2021-46251Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:N/S:C/UI:R

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.