{"id":"CVE-2026-129156","kind":"vulnerability","aliases":["CVE-2026-129156"],"related":[],"title":"DjangoBlog: OAuth nickname injects script into comment reactions","description":"DjangoBlog commit d186b1c through commit 6134ed6 contains a stored cross-site scripting vulnerability that allows authenticated OAuth users to inject script via an unescaped nickname in comment reactions. Attackers can set their OAuth display name to a payload closing the single-quoted data-reactions attribute, then react to a comment to execute script in article visitors' browsers.","summary":"DjangoBlog does not escape an OAuth user's nickname when rendering comment reactions, so a crafted display name breaks out of an HTML attribute. An attacker can then run script in the browsers of visitors who view the article.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["django","djangoblog","oauth","package","self-hosted"],"not_affected_if":["no-oauth-login","outside-commit-range","reactions-disabled"],"how_to_check":"- Check whether the blog is built from a DjangoBlog checkout between commit `d186b1c` and commit `6134ed6`, for example with `git log --oneline` in the project directory.\n- Look for OAuth login support and comment reactions enabled on the site.","fix":null,"status":"open","published_at":"2026-11-13T18:17:40+00:00","first_seen_at":"2026-11-13T18:49:30+00:00","triaged_at":"2026-11-13T18:51:53+00:00","updated_at":"2026-11-13T18:51:53+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-13T18:51:53Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"DjangoBlog: OAuth nickname injects script into comment reactions","impact":"medium","summary":"DjangoBlog does not escape an OAuth user's nickname when rendering comment reactions, so a crafted display name breaks out of an HTML attribute. An attacker can then run script in the browsers of visitors who view the article.","audience":"businesses","category":"package","nicknames":[],"who_cares":["django","djangoblog","self-hosted","oauth"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"script runs in visitors' browsers on the blog","analyst_note":"Find the upstream fix commit or release for DjangoBlog after commit 6134ed6 and confirm the fixed version; check the vulncheck advisory for details.","how_to_check":"- Check whether the blog is built from a DjangoBlog checkout between commit `d186b1c` and commit `6134ed6`, for example with `git log --oneline` in the project directory.\n- Look for OAuth login support and comment reactions enabled on the site.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-oauth-login","reactions-disabled","outside-commit-range"],"who_is_affected":"Sites running DjangoBlog code from the affected commit range that allow OAuth login and comment reactions. The flaw needs an authenticated OAuth user to set the malicious nickname, then a reaction on a comment; sites without OAuth or reactions are not reached through this path. The sources do not give a fixed version.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000751,"input_tokens":4609,"output_tokens":580,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129156':11A,14A '-2026':10A,13A '6134ed6':66C 'allow':76C 'articl':60B,118C 'attack':47B,90C 'attribut':45B,108C 'authent':77C 'break':40B 'browser':54B,120C 'close':100C 'comment':7A,33B,88C,113C 'commit':62C,65C 'contain':67C 'craft':37B 'cross':71C 'cross-sit':70C 'cve':9A,12A 'd186b1c':63C 'data':106C 'data-react':105C 'display':38B,95C 'django':15B 'djangoblog':1A,16B,22B,61C 'escap':25B 'execut':115C 'host':21B 'html':44B 'inject':4A,81C 'name':39B,96C 'nicknam':3A,30B,86C 'oauth':2A,17B,27B,78C,94C 'packag':18B 'payload':99C 'quot':104C 'react':110C 'reaction':8A,34B,89C,107C 'render':32B 'run':50B 'script':5A,51B,73C,82C,116C 'self':20B 'self-host':19B 'set':92C 'singl':103C 'single-quot':102C 'site':72C 'store':69C 'unescap':85C 'user':28B,79C 'via':83C 'view':58B 'visitor':56B,119C 'vulner':74C","nicknames":[],"mitigations":[],"who_affected":"Sites running DjangoBlog code from the affected commit range that allow OAuth login and comment reactions. The flaw needs an authenticated OAuth user to set the malicious nickname, then a reaction on a comment; sites without OAuth or reactions are not reached through this path. The sources do not give a fixed version.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["django","djangoblog","medium","oauth","package","selfhosted"],"campaign_type":null,"search_a":"'-129156':11A,14A '-2026':10A,13A 'comment':7A 'cve':9A,12A 'djangoblog':1A 'inject':4A 'nicknam':3A 'oauth':2A 'reaction':8A 'script':5A","search_b":"'articl':60B 'attack':47B 'attribut':45B 'break':40B 'browser':54B 'comment':33B 'craft':37B 'display':38B 'django':15B 'djangoblog':16B,22B 'escap':25B 'host':21B 'html':44B 'name':39B 'nicknam':30B 'oauth':17B,27B 'packag':18B 'reaction':34B 'render':32B 'run':50B 'script':51B 'self':20B 'self-host':19B 'user':28B 'view':58B 'visitor':56B","search_c":"'6134ed6':66C 'allow':76C 'articl':118C 'attack':90C 'attribut':108C 'authent':77C 'browser':120C 'close':100C 'comment':88C,113C 'commit':62C,65C 'contain':67C 'cross':71C 'cross-sit':70C 'd186b1c':63C 'data':106C 'data-react':105C 'display':95C 'djangoblog':61C 'execut':115C 'inject':81C 'name':96C 'nicknam':86C 'oauth':78C,94C 'payload':99C 'quot':104C 'react':110C 'reaction':89C,107C 'script':73C,82C,116C 'set':92C 'singl':103C 'single-quot':102C 'site':72C 'store':69C 'unescap':85C 'user':79C 'via':83C 'visitor':119C 'vulner':74C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-13T18:17:40+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129156","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129156","severity":null,"published_at":"2026-11-13T18:17:40+00:00","modified_at":"2026-11-13T18:17:40+00:00","first_seen_at":"2026-11-13T18:49:30+00:00","fetched_at":"2026-11-13T18:49:30+00:00","note":null}],"documents":[{"id":148614,"url":"https://www.vulncheck.com/advisories/djangoblog-commit-d186b1c-through-6134ed6-stored-xss-via-comment-reactions","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}