{"vuln_id":"CVE-2026-81852","aliases":[],"description":"Use of Insufficiently Random Values vulnerability in ash-project ash_admin ships a hardcoded, publicly known CSP nonce, defeating nonce-based Content-Security-Policy protection.\n\nWhen mounted without :csp_nonce_assign_key, AshAdmin.Router.ash_admin/2 defaulted the img, style, and script nonces to the literal constant ash_admin-Ed55GFnX, which AshAdmin.Layouts wrote verbatim into the nonce attribute of its inline <style> and <script> tags on every response. The value is a compile-time constant published in the repository and is never rotated per request. If an application's CSP script-src allow-lists that documented default, any HTML-injection sink on an admin page can reuse the known nonce to run inline scripts the policy was meant to block. The fix generates a fresh random nonce per request.\n\nThis issue affects ash_admin: from 0.10.8 before 1.3.1.","published_at":"2026-08-31T03:16:42.500000Z","modified_at":"2026-11-19T09:18:03.907000Z","first_seen_at":"2026-11-21T19:15:46.605918Z","severity":"low","severity_source":"nvd","cvss_score":2.1,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-330"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00528,"epss_percentile":0.45577,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81852"},"matched_alias":null,"items":[{"id":3447,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-81852: Use of Insufficiently Random Values vulnerability in ash-project ash_admin ships a hardcoded, publicly known CSP nonce, defeating nonce-based Content-Security-…","summary":"Use of Insufficiently Random Values vulnerability in ash-project ash_admin ships a hardcoded, publicly known CSP nonce, defeating nonce-based Content-Security-Policy protection.\n\nWhen mounted without :csp_nonce_assign_key, AshAdmin.Router.ash_admin/2 defaulted the img, style, and script nonces to the literal constant ash_admin-Ed55GFnX, which AshAdmin.Layouts wrote verbatim into the nonce attribute of its inline","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81852","published_at":"2026-08-31T03:16:42.500000Z","updated_at":"2026-11-19T09:18:03.907000Z","fetched_at":"2026-11-21T19:15:31.479029Z","severity":"low","cvss_score":2.1,"epss":0.00528,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-81852","vuln_ids":["CVE-2026-81852"],"tags":["CWE-330"],"cluster_id":3635,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3447","html":"https://vulnwatch.ve1ve2.com/item/3447"}}]}