CVE-2021-29452
JavaScript vulnerability analysis and mitigation

Overview

a12n-server is an npm package designed to provide a simple authentication system. In version 0.18.0, a vulnerability was discovered where a new HAL-Form feature for editing users was added, but the privileges were incorrectly checked, allowing any logged-in user to edit any other user's information. This vulnerability was identified on April 16, 2021, and affected versions from 0.18.0 to versions before 0.18.2 (GitHub Advisory).

Technical details

The vulnerability (CVE-2021-29452) stems from an improper authorization implementation in the HAL-Form feature. The feature was intended to be restricted to administrators only, but due to incorrect privilege checking, it became accessible to any authenticated user. The vulnerability has been assigned a CVSS v3.1 base score of 8.1 HIGH by GitHub, Inc., and 6.5 MEDIUM by NIST with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (NVD).

Impact

The vulnerability allows any authenticated user to modify other users' information within the system, effectively bypassing the intended administrative access controls. This could lead to unauthorized modification of user data and potential privilege escalation scenarios (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 0.18.2 of the a12n-server package. Users are advised to upgrade to this version or later to address the security issue. No alternative workarounds were provided (GitHub Advisory, NPM Package).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management