<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ian Bishop</title>
    <description>The latest articles on DEV Community by Ian Bishop (@ian_bishop_98bf15c6a498d4).</description>
    <link>https://dev.to/ian_bishop_98bf15c6a498d4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4076715%2F81dcf8e4-3b5f-44b9-83db-77242e834fc2.png</url>
      <title>DEV Community: Ian Bishop</title>
      <link>https://dev.to/ian_bishop_98bf15c6a498d4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ian_bishop_98bf15c6a498d4"/>
    <language>en</language>
    <item>
      <title>Why Math.random() Is Unsafe for Password Generation (And What to Use Instead)</title>
      <dc:creator>Ian Bishop</dc:creator>
      <pubDate>Wed, 18 Nov 2026 18:29:52 +0000</pubDate>
      <link>https://dev.to/ian_bishop_98bf15c6a498d4/why-mathrandom-is-unsafe-for-password-generation-and-what-to-use-instead-4a3</link>
      <guid>https://dev.to/ian_bishop_98bf15c6a498d4/why-mathrandom-is-unsafe-for-password-generation-and-what-to-use-instead-4a3</guid>
      <description>&lt;p&gt;JavaScript makes it remarkably easy to generate random-looking strings. But when those strings are intended to protect accounts, API credentials, or sensitive systems, the source of randomness matters.&lt;/p&gt;

&lt;p&gt;A password can look complicated and still be vulnerable if the underlying random number generator is predictable.&lt;/p&gt;

&lt;p&gt;Let's examine why &lt;code&gt;Math.random()&lt;/code&gt; is unsuitable for password generation and build a more secure alternative using the browser's native Web Crypto API.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem with Math.random()
&lt;/h2&gt;

&lt;p&gt;A common password generator implementation looks something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;characters&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="s2"&gt;"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;generatePassword&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;password&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;floor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
      &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;random&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;characters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="n"&gt;password&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;characters&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;password&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This produces random-looking strings, but there is a critical security problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;Math.random()&lt;/code&gt; is not a cryptographically secure random number generator (CSPRNG).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript engines are not required to implement it using cryptographically secure algorithms. It is designed for general-purpose randomization, not for generating authentication secrets.&lt;/p&gt;

&lt;p&gt;For passwords, session tokens, and other security-sensitive values, we need a different approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  The solution: crypto.getRandomValues()
&lt;/h2&gt;

&lt;p&gt;Modern browsers expose the Web Crypto API, including:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getRandomValues&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This method fills a typed array with cryptographically strong random values.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Uint8Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getRandomValues&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The result is 16 random bytes supplied by the browser's cryptographic random number generator.&lt;/p&gt;

&lt;p&gt;We can use these bytes to select characters from a password alphabet.&lt;/p&gt;

&lt;p&gt;However, one additional detail matters: &lt;strong&gt;avoiding modulo bias.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why modulo bias matters
&lt;/h2&gt;

&lt;p&gt;Suppose our password alphabet contains 70 characters.&lt;/p&gt;

&lt;p&gt;A random byte has 256 possible values, ranging from 0 to 255.&lt;/p&gt;

&lt;p&gt;We might map those values into our character set with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;randomByte&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But 256 is not evenly divisible by 70.&lt;/p&gt;

&lt;p&gt;This means certain character indexes occur more frequently than others.&lt;/p&gt;

&lt;p&gt;The result is a nonuniform distribution, which reduces the theoretical entropy compared with perfectly uniform character selection.&lt;/p&gt;

&lt;p&gt;The fix is called &lt;strong&gt;rejection sampling&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We discard byte values that would introduce bias, then generate additional bytes until we have enough valid selections.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building a secure JavaScript password generator
&lt;/h2&gt;

&lt;p&gt;Here's a complete example that uses the Web Crypto API and rejection sampling.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;CHARSET&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="s2"&gt;"ABCDEFGHJKLMNPQRSTUVWXYZ"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
  &lt;span class="s2"&gt;"abcdefghijkmnopqrstuvwxyz"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
  &lt;span class="s2"&gt;"23456789"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
  &lt;span class="s2"&gt;"!@#$%^&amp;amp;*"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;generateSecurePassword&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isInteger&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
    &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
    &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;128&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;RangeError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
      &lt;span class="s2"&gt;"Length must be an integer from 1 to 128"&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;alphabetSize&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;CHARSET&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// Largest multiple of alphabetSize within&lt;/span&gt;
  &lt;span class="c1"&gt;// the 0-255 byte range.&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;maxValid&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
    &lt;span class="mi"&gt;256&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;256&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;alphabetSize&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Uint8Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;32&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;password&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;password&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getRandomValues&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;byte&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="c1"&gt;// Reject values that introduce modulo bias.&lt;/span&gt;
      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;byte&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;maxValid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;continue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;

      &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;byte&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;alphabetSize&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="n"&gt;password&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="no"&gt;CHARSET&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;password&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;password&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;// Run in your browser's developer console.&lt;/span&gt;
&lt;span class="nf"&gt;generateSecurePassword&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  What this implementation gets right
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Cryptographic randomness:&lt;/strong&gt; It uses &lt;code&gt;crypto.getRandomValues()&lt;/code&gt; rather than &lt;code&gt;Math.random()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unbiased character selection:&lt;/strong&gt; Rejection sampling ensures each character in the alphabet has equal selection probability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Independent selection:&lt;/strong&gt; Each accepted random byte determines one character independently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Input validation:&lt;/strong&gt; The function restricts password length to a reasonable range.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No external dependencies:&lt;/strong&gt; The example uses native browser functionality.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The sample alphabet also excludes several visually ambiguous characters, making generated passwords easier to transcribe.&lt;/p&gt;

&lt;p&gt;This is a minimal educational implementation. A production generator may offer additional options, handle more character sets, and provide a secure interface for copying generated credentials.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about NIST password recommendations?
&lt;/h2&gt;

&lt;p&gt;NIST released Revision 4 of its Digital Identity Guidelines in July 2025.&lt;/p&gt;

&lt;p&gt;Its password guidance emphasizes length, support for password managers, and avoiding unnecessary composition requirements.&lt;/p&gt;

&lt;p&gt;For centrally verified passwords, NIST SP 800-63B-4 specifies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A minimum of 15 characters when passwords are used as the sole authentication factor.&lt;/li&gt;
&lt;li&gt;A minimum of eight characters when passwords are used as part of multi-factor authentication.&lt;/li&gt;
&lt;li&gt;Support for maximum password lengths of at least 64 characters is recommended.&lt;/li&gt;
&lt;li&gt;Verifiers must not impose mandatory character composition rules.&lt;/li&gt;
&lt;li&gt;Verifiers must not require periodic password changes without evidence of compromise.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are requirements for authentication systems and password verifiers, not a mandate that every password generator use a particular default length.&lt;/p&gt;

&lt;p&gt;For randomly generated passwords, a 20-character default is a practical choice when the destination service supports it.&lt;/p&gt;

&lt;p&gt;See the &lt;a href="https://pages.nist.gov/800-63-4/sp800-63b.html" rel="noopener noreferrer"&gt;official NIST SP 800-63B guidance&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Password entropy: why length and randomness matter
&lt;/h2&gt;

&lt;p&gt;For passwords generated by independently choosing characters uniformly from an alphabet, theoretical entropy can be calculated as:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Entropy = password length × log₂(alphabet size)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example, a 20-character password drawn uniformly from 64 possible characters has:&lt;/p&gt;

&lt;p&gt;20 × log₂(64) = &lt;strong&gt;120 bits of entropy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a substantial search space, assuming the generator actually provides unbiased, independent random selections.&lt;/p&gt;

&lt;p&gt;This distinction is important: adding symbols to a password doesn't automatically make it secure if the underlying selection process is predictable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Security considerations beyond randomness
&lt;/h2&gt;

&lt;p&gt;Even an excellent random number generator cannot compensate for an insecure application.&lt;/p&gt;

&lt;p&gt;When building a browser-based password generator:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Avoid transmitting generated passwords to analytics services, APIs, or logging systems.&lt;/li&gt;
&lt;li&gt;Never log production passwords to the developer console.&lt;/li&gt;
&lt;li&gt;Do not persist generated credentials without an explicit and appropriate security design.&lt;/li&gt;
&lt;li&gt;Minimize third-party scripts on pages handling sensitive credentials.&lt;/li&gt;
&lt;li&gt;Consider clipboard exposure and the risks associated with compromised browser extensions.&lt;/li&gt;
&lt;li&gt;Encourage users to save unique passwords in a reputable password manager.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Generating credentials locally is useful for privacy, but it does not eliminate every browser or endpoint security risk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Putting these principles into practice
&lt;/h2&gt;

&lt;p&gt;I've been working on &lt;a href="https://generatemypassword.com" rel="noopener noreferrer"&gt;Generate My Password&lt;/a&gt;, a free browser-based password generation utility that applies these principles to everyday credential creation.&lt;/p&gt;

&lt;p&gt;It provides configurable password lengths, character selection, and additional password-related utilities.&lt;/p&gt;

&lt;p&gt;The project focuses on generating credentials directly in the browser rather than requiring a server to generate or store them.&lt;/p&gt;

&lt;p&gt;The JavaScript example in this article is a standalone demonstration of the underlying techniques, not a reproduction of the website's source code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Secure Randomness Matters
&lt;/h2&gt;

&lt;p&gt;Password generation is one of those tasks where a seemingly small implementation detail can have major security implications.&lt;/p&gt;

&lt;p&gt;The difference between &lt;code&gt;Math.random()&lt;/code&gt; and a cryptographically secure random number generator may not be apparent from the resulting string.&lt;/p&gt;

&lt;p&gt;But under the hood, that distinction matters.&lt;/p&gt;

&lt;p&gt;If you're building a password generator in JavaScript, start with &lt;code&gt;crypto.getRandomValues()&lt;/code&gt;, use unbiased character selection, and keep sensitive credentials out of unnecessary storage and network requests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Secure password generation begins with secure randomness.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  References
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues" rel="noopener noreferrer"&gt;MDN: Crypto.getRandomValues()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random" rel="noopener noreferrer"&gt;MDN: Math.random()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pages.nist.gov/800-63-4/sp800-63b.html" rel="noopener noreferrer"&gt;NIST SP 800-63B: Authentication and Authenticator Management&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>security</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Patch Tuesday November 2026: One Zero-Day, 64 Critical Fixes Among 1,097 CVEs</title>
      <dc:creator>Ian Bishop</dc:creator>
      <pubDate>Sun, 15 Nov 2026 18:19:29 +0000</pubDate>
      <link>https://dev.to/ian_bishop_98bf15c6a498d4/patch-tuesday-november-2026-one-zero-day-64-critical-fixes-among-1097-cves-1f0e</link>
      <guid>https://dev.to/ian_bishop_98bf15c6a498d4/patch-tuesday-november-2026-one-zero-day-64-critical-fixes-among-1097-cves-1f0e</guid>
      <description>&lt;p&gt;tags: security, cybersecurity, windows, patchtuesday&lt;/p&gt;

&lt;p&gt;Microsoft's November 2026 release fixes 1,097 vulnerabilities, 64 of them rated Critical. Of those, one is already exploited in the wild.&lt;/p&gt;

&lt;p&gt;Patch Microsoft Outlook first: CVE-2026-124194 is being exploited in the wild and can expose authentication information when a user opens a crafted message file. Prioritize Mariner updates alongside it; both vulnerabilities are in CISA KEV and require customer patching.&lt;/p&gt;

&lt;h2&gt;
  
  
  Patch these first
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-124194" rel="noopener noreferrer"&gt;CVE-2026-124194&lt;/a&gt;&lt;/strong&gt; (Moderate, CVSS 6.5) — Microsoft Office Outlook: Spoofing — &lt;strong&gt;exploited in the wild&lt;/strong&gt;, &lt;strong&gt;CISA KEV&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-123158" rel="noopener noreferrer"&gt;CVE-2026-123158&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.1) — Mariner: see advisory — &lt;strong&gt;CISA KEV&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CVE-2026-124194 lets an unauthenticated attacker send a specially crafted message file that, when opened in an affected Outlook version, can trigger a connection to an attacker-controlled network location without the usual external-content warning. That connection could disclose authentication information usable to impersonate the user. Exploitation requires user interaction and network connectivity. Deploy the Outlook patch now; exploitation is active and the vulnerability is in CISA KEV.&lt;/p&gt;

&lt;p&gt;CVE-2026-123158 is also in CISA KEV. Patch affected Mariner systems as a priority; remediation requires a customer-applied update.&lt;/p&gt;

&lt;h2&gt;
  
  
  Also notable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118207" rel="noopener noreferrer"&gt;CVE-2026-118207&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.8) — Microsoft Exchange Server: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118146" rel="noopener noreferrer"&gt;CVE-2026-118146&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.8) — Active Directory Domain Services: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-121663" rel="noopener noreferrer"&gt;CVE-2026-121663&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.8) — Visual Studio Code: Security Feature Bypass&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-121662" rel="noopener noreferrer"&gt;CVE-2026-121662&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.6) — Visual Studio Code: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-113862" rel="noopener noreferrer"&gt;CVE-2026-113862&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.1) — Windows Network Address Translation (NAT): Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-119952" rel="noopener noreferrer"&gt;CVE-2026-119952&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.1) — Windows Schannel: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118148" rel="noopener noreferrer"&gt;CVE-2026-118148&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 7.5) — Active Directory Domain Services: Elevation of Privilege&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-119958" rel="noopener noreferrer"&gt;CVE-2026-119958&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 9.8) — Windows LDAP - Lightweight Directory Access Protocol: Remote Code Execution&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  By the numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Elevation of Privilege: &lt;strong&gt;536&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Remote Code Execution: &lt;strong&gt;297&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Information Disclosure: &lt;strong&gt;157&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Denial of Service: &lt;strong&gt;46&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Security Feature Bypass: &lt;strong&gt;27&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Spoofing: &lt;strong&gt;22&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Tampering: &lt;strong&gt;11&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Other: &lt;strong&gt;1&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not counted above: 342 open-source CVEs (mostly Azure Linux packages) that Microsoft republished this month. Azure Linux admins should pick those up through the normal package updates.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Source: &lt;a href="https://msrc.microsoft.com/update-guide" rel="noopener noreferrer"&gt;Microsoft Security Update Guide&lt;/a&gt; and the &lt;a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog" rel="noopener noreferrer"&gt;CISA KEV catalog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;&lt;a href="https://secnewsheadlines.com/?utm_source=devto&amp;amp;utm_medium=blog&amp;amp;utm_campaign=patch-tuesday-2026-nov" rel="noopener noreferrer"&gt;Subscribe free →&lt;/a&gt;&lt;/strong&gt; I write a curated cybersecurity news roundup, including this breakdown each Patch Tuesday. Get it in your inbox.&lt;/p&gt;

</description>
      <category>authentication</category>
      <category>cybersecurity</category>
      <category>security</category>
    </item>
    <item>
      <title>Patch Tuesday September 2026: 2 Zero-Days, 119 Critical Fixes Among 1186 CVEs</title>
      <dc:creator>Ian Bishop</dc:creator>
      <pubDate>Wed, 09 Sep 2026 19:48:35 +0000</pubDate>
      <link>https://dev.to/ian_bishop_98bf15c6a498d4/patch-tuesday-september-2026-2-zero-days-119-critical-fixes-among-1186-cves-2876</link>
      <guid>https://dev.to/ian_bishop_98bf15c6a498d4/patch-tuesday-september-2026-2-zero-days-119-critical-fixes-among-1186-cves-2876</guid>
      <description>&lt;p&gt;Microsoft's September 2026 security update addresses 1186 vulnerabilities: 119 rated Critical, 913 Important. 2 are already exploited in the wild and 0 were publicly disclosed before today.&lt;/p&gt;

&lt;p&gt;This is a big patch batch — 1,186 CVEs total — but the real story is three vulnerabilities already in CISA's KEV catalog, two of them zero-days actively exploited before today's release. Neither of the exploited Windows bugs was publicly disclosed ahead of the patch, so there's no advance warning you missed, but that also means attackers had a head start you didn't. &lt;/p&gt;

&lt;p&gt;Prioritize the KEV-listed items below over the raw volume of Important-rated EoP and RCE bugs padding out the rest of this month's release.&lt;/p&gt;

&lt;h2&gt;
  
  
  Patch these first
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81963" rel="noopener noreferrer"&gt;CVE-2026-81963&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 7.8) — Windows Update Stack: Elevation of Privilege — &lt;strong&gt;exploited in the wild&lt;/strong&gt;, &lt;strong&gt;CISA KEV&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-85880" rel="noopener noreferrer"&gt;CVE-2026-85880&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 7.8) — Windows ALPC: Elevation of Privilege — &lt;strong&gt;exploited in the wild&lt;/strong&gt;, &lt;strong&gt;CISA KEV&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-85046" rel="noopener noreferrer"&gt;CVE-2026-85046&lt;/a&gt;&lt;/strong&gt; (CVSS 0.0) — Microsoft Edge (Chromium-based): see advisory — &lt;strong&gt;CISA KEV&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CVE-2026-81963 (Windows Update Stack, EoP, CVSS 7.8): improper link resolution — a classic link-following flaw — lets an authorized local attacker escalate privileges. It's exploited in the wild and KEV-listed, so treat any endpoint running the Windows Update Stack as exposed and patch it today.&lt;/p&gt;

&lt;p&gt;CVE-2026-85880 (Windows ALPC, EoP, CVSS 7.8): a heap-based buffer overflow in ALPC that also allows local privilege escalation by an authorized attacker. Also exploited and KEV-listed — ALPC is a core Windows IPC mechanism, so this affects essentially every supported Windows version and should be patched alongside the Update Stack bug.&lt;/p&gt;

&lt;p&gt;CVE-2026-85046 (Microsoft Edge, Chromium-based): this one comes from the Chromium side — Microsoft Edge ingests a Chrome fix for a vulnerability Google says has an exploit in the wild. Make sure Edge is set to auto-update or push the update manually; don't assume your Windows patching cadence covers browser components.&lt;/p&gt;

&lt;h2&gt;
  
  
  Also notable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69525" rel="noopener noreferrer"&gt;CVE-2026-69525&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 9.8) — Windows Remote Desktop Services: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69730" rel="noopener noreferrer"&gt;CVE-2026-69730&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 9.8) — Windows DNS: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69854" rel="noopener noreferrer"&gt;CVE-2026-69854&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 9.0) — Spring Cloud Azure: Elevation of Privilege&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69676" rel="noopener noreferrer"&gt;CVE-2026-69676&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.8) — Windows Kerberos: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69857" rel="noopener noreferrer"&gt;CVE-2026-69857&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.5) — Azure Cosmos DB: Spoofing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68880" rel="noopener noreferrer"&gt;CVE-2026-68880&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.0) — Windows Win32K: Elevation of Privilege&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69301" rel="noopener noreferrer"&gt;CVE-2026-69301&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.0) — Windows Win32K: Elevation of Privilege&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-72940" rel="noopener noreferrer"&gt;CVE-2026-72940&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.8) — Windows Schannel: Remote Code Execution&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  By the numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Elevation of Privilege: &lt;strong&gt;438&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Remote Code Execution: &lt;strong&gt;258&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Unspecified: &lt;strong&gt;213&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Information Disclosure: &lt;strong&gt;173&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Denial of Service: &lt;strong&gt;56&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Security Feature Bypass: &lt;strong&gt;19&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Spoofing: &lt;strong&gt;16&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Tampering: &lt;strong&gt;13&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Source: &lt;a href="https://msrc.microsoft.com/update-guide" rel="noopener noreferrer"&gt;Microsoft Security Update Guide&lt;/a&gt; and the &lt;a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog" rel="noopener noreferrer"&gt;CISA KEV catalog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;&lt;a href="https://secnewsheadlines.com/?utm_source=devto&amp;amp;utm_medium=blog&amp;amp;utm_campaign=patch-tuesday-2026-sep" rel="noopener noreferrer"&gt;Subscribe free →&lt;/a&gt;&lt;/strong&gt; I write a curated cybersecurity news roundup, including this breakdown each Patch Tuesday. Get it in your inbox.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>infosec</category>
      <category>microsoft</category>
      <category>security</category>
    </item>
    <item>
      <title>Patch Tuesday August 2026: 1 Zero-Day, 109 Critical Fixes Among 790 CVEs</title>
      <dc:creator>Ian Bishop</dc:creator>
      <pubDate>Thu, 13 Aug 2026 19:04:33 +0000</pubDate>
      <link>https://dev.to/ian_bishop_98bf15c6a498d4/patch-tuesday-august-2026-1-zero-day-109-critical-fixes-among-790-cves-3hdc</link>
      <guid>https://dev.to/ian_bishop_98bf15c6a498d4/patch-tuesday-august-2026-1-zero-day-109-critical-fixes-among-790-cves-3hdc</guid>
      <description>&lt;p&gt;Microsoft's August 2026 security update addresses 790 vulnerabilities: 109 rated Critical, 396 Important. 1 is already exploited in the wild and 2 were publicly disclosed before today.&lt;/p&gt;

&lt;p&gt;This month's headline is a single actively exploited zero-day: CVE-2026-68820, a use-after-free EoP in the Windows Ancillary Function Driver for WinSock, already confirmed in KEV. It's the one CVE in this 790-fix batch you cannot leave for next week. Beyond that, the release is heavy on volume — 109 critical and 111 RCE fixes — but light on other confirmed exploitation, with two publicly disclosed EoP/tampering bugs in User Profile Service and the Container Isolation FS Filter Driver rounding out the disclosed-but-not-yet-exploited list.&lt;/p&gt;

&lt;h2&gt;
  
  
  Patch these first
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-68820" rel="noopener noreferrer"&gt;CVE-2026-68820&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 7.0) — Windows Ancillary Function Driver for WinSock: Elevation of Privilege — &lt;strong&gt;exploited in the wild&lt;/strong&gt;, &lt;strong&gt;CISA KEV&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CVE-2026-68820 (Windows Ancillary Function Driver for WinSock, CVSS 7.0): a use-after-free that lets an already-authenticated local attacker elevate privileges to SYSTEM. It's marked exploited in the wild and is in KEV, so treat it as your top priority patch this cycle regardless of platform — AFD.sys underpins core networking on every supported Windows version, meaning any endpoint or server where a low-priv user or process can execute code is a viable target for local privilege escalation chains. Patch this today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Publicly disclosed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62832" rel="noopener noreferrer"&gt;CVE-2026-62832&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 7.8) — Windows User Profile Service: Elevation of Privilege — publicly disclosed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-72971" rel="noopener noreferrer"&gt;CVE-2026-72971&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 5.5) — Windows Container Isolation FS Filter Driver (unionfs.sys): Tampering — publicly disclosed&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Also notable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-65665" rel="noopener noreferrer"&gt;CVE-2026-65665&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.8) — Microsoft Office SharePoint: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-63520" rel="noopener noreferrer"&gt;CVE-2026-63520&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.1) — Microsoft Office SharePoint: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-59124" rel="noopener noreferrer"&gt;CVE-2026-59124&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 9.8) — Microsoft High Performance Computing (HPC) Pack: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62893" rel="noopener noreferrer"&gt;CVE-2026-62893&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 9.8) — Windows Deployment Services: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-59133" rel="noopener noreferrer"&gt;CVE-2026-59133&lt;/a&gt;&lt;/strong&gt; (Important, CVSS 8.8) — Microsoft High Performance Computing (HPC) Pack: Elevation of Privilege&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62823" rel="noopener noreferrer"&gt;CVE-2026-62823&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 8.8) — Windows DHCP Server: Remote Code Execution&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-56162" rel="noopener noreferrer"&gt;CVE-2026-56162&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 10.0) — Azure SQL Database: Elevation of Privilege&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50481" rel="noopener noreferrer"&gt;CVE-2026-50481&lt;/a&gt;&lt;/strong&gt; (Critical, CVSS 9.9) — Azure Active Directory: Elevation of Privilege&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  By the numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Unspecified: &lt;strong&gt;369&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Elevation of Privilege: &lt;strong&gt;176&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Remote Code Execution: &lt;strong&gt;111&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Information Disclosure: &lt;strong&gt;86&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Spoofing: &lt;strong&gt;21&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Denial of Service: &lt;strong&gt;12&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Security Feature Bypass: &lt;strong&gt;11&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Tampering: &lt;strong&gt;4&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Source: &lt;a href="https://msrc.microsoft.com/update-guide" rel="noopener noreferrer"&gt;Microsoft Security Update Guide&lt;/a&gt; and the &lt;a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog" rel="noopener noreferrer"&gt;CISA KEV catalog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;&lt;a href="https://secnewsheadlines.com/?utm_source=devto&amp;amp;utm_medium=blog&amp;amp;utm_campaign=patch-tuesday-2026-aug" rel="noopener noreferrer"&gt;Subscribe free →&lt;/a&gt;&lt;/strong&gt; I write a curated cybersecurity news roundup, including this breakdown each Patch Tuesday. Get it in your inbox.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
    </item>
  </channel>
</rss>
