---
id: "CVE-2026-129940"
page: "https://infrastack.ai/live/CVE-2026-129940"
kind: "vulnerability"
aliases: ["CVE-2026-129940"]
title: "Prime CMS: unauthenticated redirect route sends visitors to attacker sites"
severity: "medium"
cvss: 6.1
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["javascript", "package", "prime-cms", "self-hosted"]
not_affected_if: ["not-using-primecms-core"]
published_at: "2026-11-16T15:17:28+00:00"
first_seen_at: "2026-11-16T15:37:55+00:00"
updated_at: "2026-11-16T15:40:50+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129940", "first_seen_at": "2026-11-16T15:37:55+00:00"}]
exploit_sources: []
---

# Prime CMS: unauthenticated redirect route sends visitors to attacker sites

Link for people: https://infrastack.ai/live/CVE-2026-129940 (this .md is for agents)

Prime CMS (@primecms/core) through 0.4.0-beta.0 has an open redirect on the unauthenticated GET /prime/redirect route. An attacker can craft a link on the trusted Prime host that forwards victims to an external phishing site.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether your project depends on `@primecms/core` and which version is installed, for example with `npm ls @primecms/core`
- Confirm whether any installed version is `0.4.0-beta.0` or earlier
- Look for the `/prime/redirect` route in your deployed application

## Timeline

- 2026-11-16T15:37:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129940

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-open-redirect-via-prime-redirect

## From the sources

Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an open redirect vulnerability in the unauthenticated GET /prime/redirect route that allows remote attackers to redirect users to external sites. Attackers can craft links with a 36-character id and arbitrary url parameter on the trusted Prime host to send victims to phishing sites.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
