GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
Home/CWEs/CWE-843
ShareXLinkedInRedditHN
Common Weakness Enumeration

CWE-843: Type Confusion

Abstraction
Base
OWASP Top 10
A06:2021 (#6)
Exploit Likelihood
High
Related CVEs
19

Description

A resource is accessed using a type incompatible with its actual type.

How to mitigate

  • Validate types at trust boundaries; avoid unsafe casts.

Related CVEs

CriticalCVE-2020-25575Security vulnerability in failure
HighCVE-2026-25537Security vulnerability in jsonwebtoken
HighCVE-2018-8133Security vulnerability in ChakraCore

References & documentation

  • https://cwe.mitre.org/data/definitions/843.html
  • NVD CWE listing

Weakness facts

IDCWE-843
AbstractionBase
OWASP Top 10A06:2021 (#6)
Exploit LikelihoodHigh
Related CVEs19

Turn Gold’s intelligence into continuous protection

Safeguard scans your code, containers, and dependencies, tells you what’s exposed, and automates the fixes.

Start free See pricing
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
HighCVE-2018-8229Security vulnerability in ChakraCore
HighCVE-2018-8279Security vulnerability in ChakraCore
HighCVE-2018-8291Security vulnerability in ChakraCore
HighCVE-2018-8298Security vulnerability in ChakraCore
HighCVE-2018-8384Security vulnerability in ChakraCore
MediumCVE-2021-23436Security vulnerability in immer
MediumCVE-2021-23434Security vulnerability in object-path
MediumCVE-2026-22028Security vulnerability in preact
HighCVE-2026-25537Security vulnerability in jsonwebtoken
HighCVE-2021-23440Security vulnerability in set-value
HighCVE-2021-23440Security vulnerability in set-value
MediumCVE-2026-22028Security vulnerability in preact
MediumCVE-2021-23434Security vulnerability in object-path
HighCVE-2023-0286Security vulnerability in openssl
HighCVE-2023-0286Security vulnerability in openssl
HighCVE-2026-25537Security vulnerability in jsonwebtoken