---
title: CVEWeakness type | Wartiva GraphQL API
description: Type CVEWeakness represents CWE (Common Weakness Enumeration) classification. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/cve-weakness.html
updated: 2026-10-07
---

Vulnerabilities · GraphQL type

# `CVEWeakness` type

Type `CVEWeakness` represents CWE (Common Weakness Enumeration) classification

## Fields

| Field Name | Description |
|---|---|
| `type` - [`CVEWeaknessType!`](https://wartiva.com/api-docs/types/cve-weakness-type.html) | Classification category indicating whether this is a primary or secondary weakness |
| `source` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Organization that assigned this weakness classification |
| `descriptions` - [`[CVEDescription!]!`](https://wartiva.com/api-docs/types/cve-description.html) | Human-readable descriptions of the weakness type |

## Used by

- [`CVE`](https://wartiva.com/api-docs/types/cve.html) type: Type CVE represents a Common Vulnerabilities and Exposures entry with comprehensive security information

## Example

### Example

```json
{
  "type": "PRIMARY",
  "source": "xyz789",
  "descriptions": [CVEDescription]
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
