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

# Endpoint for creating and editing vulnerabilities in the local source

`POST /vulnerability/`

Retrieve vulnerabilities with optional filtering and pagination.

Supports light mode for minimal data (returns only vulnerability ID and source).
Create a vulnerability with the CVE version 5 format.
(Deprecated)

## 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

- **2026-06-16** `92f7157cbff0` — 1 info
  - added the new optional `query` request parameter `with_meta` to all path's operations
- **2026-02-17** `9c1baef65e8d` — 1 info
  - added the new optional `query` request parameter `product` to all path's operations
- **2025-10-03** `d87b1cfd7320` — 8 info
  - added the new optional `query` request parameter `cwe` to all path's operations
  - added the new optional `query` request parameter `date_sort` to all path's operations
  - added the new optional `query` request parameter `light` to all path's operations
  - added the new optional `query` request parameter `page` to all path's operations
  - …4 more
- **2024-11-27** `5ff926c52769` — 1 info
  - endpoint added
- **2024-11-25** `1441221dfa02` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api/changes/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/92f7157cbff0/schema)
