---
title: "Endpoint for creating and editing vulnerabilities in the local source"
method: POST
path: "/api/vulnerability/"
tags: ["vulnerability"]
---

# Endpoint for creating and editing vulnerabilities in the local source

`POST /api/vulnerability/`

Create a vulnerability with the CVE version 5 format.

## Request body

- object
  - `data` string

## Response `200`

Success.

## Other responses

- `400` — JSON validation failed.
- `403` — Reporter permission required.
- `422` — Not possible to edit a vulnerability from the requested source.

## Changes

- **2024-11-25** `1441221dfa02` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api/changes/api/vulnerability/post.md)

---

[API](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api.md) · [All operations](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vulnerability-lookup/vulnerability-lookup-api/revisions/1441221dfa02/schema)
