<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T12:05:13.147304+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-318997</id>
    <title>EUVD-2026-318997</title>
    <updated>2026-10-05T12:05:13.150769+00:00</updated>
    <content>EUVD-2026-318997</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-318997"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-44523</id>
    <title>fkie_cve-2026-44523</title>
    <updated>2026-10-05T12:05:13.150804+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Note Mark is an open-source note-taking application. Prior to 0.19.4, no minimum length or entropy is enforced on the JWT_SECRET configuration value. The application accepts any base64-decodable secret regardless of size, including secrets as short as 1 byte. This vulnerability is fixed in 0.19.4.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-44523"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-q6mh-rqwh-g786</id>
    <title>GHSA-q6mh-rqwh-g786 — Note Mark has a JWT Secret Weakness that allows Full Account Takeover via Token Forgery</title>
    <updated>2026-10-05T12:05:13.150834+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/enchant97/note-mark/backend</p>
<p>#### Summary</p>
<p>No minimum length or entropy is enforced on the `JWT_SECRET` configuration value. The application accepts any base64-decodable secret regardless of size, including secrets as short as 1 byte.</p>
<p>HS256 secrets below 32 bytes are brute-forceable offline, allowing attackers to recover the signing key and forge valid JWTs for arbitrary users.</p>
<p>---</p>
<p>#### Impact</p>
<p>An attacker who captures a single valid JWT (e.g, from cookies, logs, or network traffic) can:</p>
<p>\&gt; Crack the signing secret offline using brute-force or wordlist attacks
\&gt; Forge valid JWTs for any user ID (including administrators)
\&gt; Authenticate without knowing any credentials</p>
<p>This results in **full account takeover across the entire application** with no server-side detection or rate limiting possible.</p>
<p>---</p>
<p>#### Details</p>
<p>In `backend/config/utils.go`, the `Base64Decoded.UnmarshalText` function decodes the JWT secret but does not validate its length or entropy.</p>
<p>In `backend/core/auth.go`, JWT tokens are signed using HS256 without enforcing minimum key size requirements.</p>
<p>According to **RFC 7518 Section 3.2**, HS256 keys must be at least 256 bits (32 bytes). Libraries such as PyJWT explicitly warn against shorter keys, but note-mark performs no such validation.</p>
<p>---</p>
<p>### PoC</p>
<p>1- Deploy note-mark with a weak secret:</p>
<p>```
   JWT_SECRET = base64("testsecret123456789012345")
   ```</p>
<p>2- Register an account and capture the `Auth-Session-Token` cookie</p>
<p>3- Crack the secret offline (example using Python):</p>
<p>```…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-q6mh-rqwh-g786"/>
  </entry>
</feed>
