{"id":"CVE-2026-130365","kind":"vulnerability","aliases":["CVE-2026-130365"],"related":[],"title":"phpMyFAQ: SVG sanitizer bypass lets editors plant script in admin pages","description":"phpMyFAQ from 4.2.0-alpha before 4.2.0-RC.2 contains a stored cross-site scripting vulnerability that allows FAQ_EDIT users to bypass SvgSanitizer using namespace-prefixed elements like <x:script>. Attackers can upload malicious SVGs through the admin image upload so script runs in the site origin on IIS, hijacking sessions of users like super-admins.","summary":"phpMyFAQ from 4.2.0-alpha before 4.2.0-RC.2 lets a user with the FAQ_EDIT role upload an SVG whose namespace-prefixed elements such as <x:script> get past the SvgSanitizer. The script then runs in the site's origin on IIS, so it can hijack sessions of users such as super-admins.","severity":"medium","cvss":4.4,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"phpMyFAQ","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["iis","package","php","phpmyfaq","self-hosted"],"not_affected_if":["no-faq-edit-users","pre-4.2.0-alpha-or-post-fix"],"how_to_check":"- Check the installed phpMyFAQ version and whether it is between `4.2.0-alpha` and `4.2.0-RC.2`, which the sources list as affected\n- Look for users with the FAQ_EDIT role, since they are the ones who can upload images\n- Run on IIS: the sources say the attack path was demonstrated there","fix":"- phpMyFAQ: move to `4.2.0-RC.2` or later (fixed version as stated in the NVD range)","status":"open","published_at":"2026-11-17T02:17:19+00:00","first_seen_at":"2026-11-17T02:40:31+00:00","triaged_at":"2026-11-17T02:42:54+00:00","updated_at":"2026-11-17T02:42:54+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-17T02:42:54Z","model":"claude-haiku-5-5","output":{"fix":"- phpMyFAQ: move to `4.2.0-RC.2` or later (fixed version as stated in the NVD range)","reach":"internet","title":"phpMyFAQ: SVG sanitizer bypass lets editors plant script in admin pages","impact":"medium","summary":"phpMyFAQ from 4.2.0-alpha before 4.2.0-RC.2 lets a user with the FAQ_EDIT role upload an SVG whose namespace-prefixed elements such as <x:script> get past the SvgSanitizer. The script then runs in the site's origin on IIS, so it can hijack sessions of users such as super-admins.","audience":"businesses","category":"package","nicknames":[],"who_cares":["phpmyfaq","php","iis","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"script runs in admin sessions and steals super-admin session cookies","analyst_note":"","how_to_check":"- Check the installed phpMyFAQ version and whether it is between `4.2.0-alpha` and `4.2.0-RC.2`, which the sources list as affected\n- Look for users with the FAQ_EDIT role, since they are the ones who can upload images\n- Run on IIS: the sources say the attack path was demonstrated there","plain_action":"","product_name":"phpMyFAQ","needs_analyst":false,"not_affected_if":["no-faq-edit-users","pre-4.2.0-alpha-or-post-fix"],"who_is_affected":"Sites running phpMyFAQ 4.2.0-alpha up to but not including 4.2.0-RC.2 are exposed, and the sources demonstrate the path on IIS. The attacker needs an account with the FAQ_EDIT role, so sites where only trusted staff can edit FAQs carry less risk, but a compromised editor account can reach super-admin sessions.","user_interaction":"yes","product_ecosystem":"vendor","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000818,"input_tokens":4664,"output_tokens":704,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-130365':14A,17A '-2026':13A,16A '4.2.0':28B,31B,80C,83C 'admin':10A,77B,114C,133C 'allow':94C 'alpha':29B,81C 'attack':107C 'bypass':4A,99C 'contain':85C 'cross':89C 'cross-sit':88C 'cve':12A,15A 'edit':39B,96C 'editor':6A 'element':48B,105C 'faq':38B,95C 'get':51B 'hijack':69B,126C 'host':25B 'ii':19B,65B,125C 'imag':115C 'let':5A,33B 'like':106C,130C 'malici':110C 'namespac':46B,103C 'namespace-prefix':45B,102C 'origin':63B,123C 'packag':20B 'page':11A 'past':52B 'php':21B 'phpmyfaq':1A,18A,22B,26B,78C 'plant':7A 'prefix':47B,104C 'rc.2':32B,84C 'role':40B 'run':58B,119C 'sanit':3A 'script':8A,56B,91C,118C 'self':24B 'self-host':23B 'session':70B,127C 'site':61B,90C,122C 'store':87C 'super':76B,132C 'super-admin':75B,131C 'svg':2A,43B 'svgs':111C 'svgsanit':54B,100C 'upload':41B,109C,116C 'use':101C 'user':35B,72B,97C,129C 'vulner':92C 'whose':44B","nicknames":[],"mitigations":[],"who_affected":"Sites running phpMyFAQ 4.2.0-alpha up to but not including 4.2.0-RC.2 are exposed, and the sources demonstrate the path on IIS. The attacker needs an account with the FAQ_EDIT role, so sites where only trusted staff can edit FAQs carry less risk, but a compromised editor account can reach super-admin sessions.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["phpmyfaq"],"ptokens":["phpmyfaq"],"labels":["iis","medium","package","php","phpmyfaq","selfhosted","vendor"],"campaign_type":null,"search_a":"'-130365':14A,17A '-2026':13A,16A 'admin':10A 'bypass':4A 'cve':12A,15A 'editor':6A 'let':5A 'page':11A 'phpmyfaq':1A,18A 'plant':7A 'sanit':3A 'script':8A 'svg':2A","search_b":"'4.2.0':28B,31B 'admin':77B 'alpha':29B 'edit':39B 'element':48B 'faq':38B 'get':51B 'hijack':69B 'host':25B 'ii':19B,65B 'let':33B 'namespac':46B 'namespace-prefix':45B 'origin':63B 'packag':20B 'past':52B 'php':21B 'phpmyfaq':22B,26B 'prefix':47B 'rc.2':32B 'role':40B 'run':58B 'script':56B 'self':24B 'self-host':23B 'session':70B 'site':61B 'super':76B 'super-admin':75B 'svg':43B 'svgsanit':54B 'upload':41B 'user':35B,72B 'whose':44B","search_c":"'4.2.0':80C,83C 'admin':114C,133C 'allow':94C 'alpha':81C 'attack':107C 'bypass':99C 'contain':85C 'cross':89C 'cross-sit':88C 'edit':96C 'element':105C 'faq':95C 'hijack':126C 'ii':125C 'imag':115C 'like':106C,130C 'malici':110C 'namespac':103C 'namespace-prefix':102C 'origin':123C 'phpmyfaq':78C 'prefix':104C 'rc.2':84C 'run':119C 'script':91C,118C 'session':127C 'site':90C,122C 'store':87C 'super':132C 'super-admin':131C 'svgs':111C 'svgsanit':100C 'upload':109C,116C 'use':101C 'user':97C,129C 'vulner':92C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T16:01:22+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/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-130365","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130365","severity":null,"published_at":"2026-11-17T02:17:19+00:00","modified_at":"2026-11-17T02:17:19+00:00","first_seen_at":"2026-11-17T02:40:31+00:00","fetched_at":"2026-11-17T02:40:31+00:00","note":null}],"documents":[{"id":173887,"url":"https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":174005,"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-h77h-69jx-2qvj","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T16:01:22+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":174006,"url":"https://www.vulncheck.com/advisories/phpmyfaq-4.2.0-alpha-before-4.2.0-rc.2-stored-xss-via-svgsanitizer-namespace-bypass","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"}