{"id":"CVE-2026-111896","kind":"vulnerability","aliases":["CVE-2026-111896"],"related":[],"title":"phpMyFAQ: SVG sanitizer flaw lets editors store script that runs in users' browsers","description":"phpMyFAQ from 4.2.0-alpha before 4.2.0-beta contains a stored cross-site scripting vulnerability in SvgSanitizer that allows FAQ editors to store executable SVG files. Attackers can split script tags around removed tokens like processing instructions so single-pass removal reassembles them, executing script in the application origin when victims open the file.","summary":"phpMyFAQ's SvgSanitizer removes tokens in a single pass, so split script tags get reassembled after removal and survive. An FAQ editor can upload an SVG that executes script in the application's origin when a victim opens it.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","php","phpmyfaq","self-hosted"],"not_affected_if":["no-svg-uploads","other-versions"],"how_to_check":"- Check the installed phpMyFAQ version: `4.2.0-alpha` through `4.2.0-beta` (before `4.2.0-beta`) is affected.\n- unknown","fix":"- Upgrade phpMyFAQ to `4.2.0-beta` or later.\n- unknown","status":"open","published_at":"2026-10-17T19:16:31+00:00","first_seen_at":"2026-10-23T21:57:14+00:00","triaged_at":"2026-10-25T04:16:59+00:00","updated_at":"2026-10-25T04:16:59+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T04:16:59Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade phpMyFAQ to `4.2.0-beta` or later.\n- unknown","reach":"internet","title":"phpMyFAQ: SVG sanitizer flaw lets editors store script that runs in users' browsers","impact":"medium","summary":"phpMyFAQ's SvgSanitizer removes tokens in a single pass, so split script tags get reassembled after removal and survive. An FAQ editor can upload an SVG that executes script in the application's origin when a victim opens it.","category":"package","nicknames":[],"who_cares":["phpmyfaq","php","self-hosted"],"confidence":0.6,"needs_auth":"yes","worst_case":"Script runs in victims' browsers within the application origin","analyst_note":"Confirm whether default configurations allow SVG uploads and check the fixed release notes at the NVD entry for the exact patched version.","how_to_check":"- Check the installed phpMyFAQ version: `4.2.0-alpha` through `4.2.0-beta` (before `4.2.0-beta`) is affected.\n- unknown","needs_analyst":true,"not_affected_if":["other-versions","no-svg-uploads"],"who_is_affected":"Installations of phpMyFAQ from 4.2.0-alpha before 4.2.0-beta that let FAQ editors upload SVG files are exposed. The sources do not say whether default configurations accept SVG uploads. Sites on other phpMyFAQ versions can skip it.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.00061,"input_tokens":3358,"output_tokens":548,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-111896':16A,19A '-2026':15A,18A '4.2.0':66C,69C 'allow':82C 'alpha':67C 'applic':57B,112C 'around':95C 'attack':90C 'beta':70C 'browser':13A 'contain':71C 'cross':75C 'cross-sit':74C 'cve':14A,17A 'editor':6A,47B,84C 'execut':53B,87C,108C 'faq':46B,83C 'file':89C,118C 'flaw':4A 'get':39B 'host':25B 'instruct':100C 'let':5A 'like':98C 'open':63B,116C 'origin':59B,113C 'packag':20B 'pass':34B,104C 'php':21B 'phpmyfaq':1A,22B,26B,64C 'process':99C 'reassembl':40B,106C 'remov':29B,42B,96C,105C 'run':10A 'sanit':3A 'script':8A,37B,54B,77C,93C,109C 'self':24B 'self-host':23B 'singl':33B,103C 'single-pass':102C 'site':76C 'split':36B,92C 'store':7A,73C,86C 'surviv':44B 'svg':2A,51B,88C 'svgsanit':28B,80C 'tag':38B,94C 'token':30B,97C 'upload':49B 'user':12A 'victim':62B,115C 'vulner':78C","nicknames":[],"mitigations":[],"who_affected":"Installations of phpMyFAQ from 4.2.0-alpha before 4.2.0-beta that let FAQ editors upload SVG files are exposed. The sources do not say whether default configurations accept SVG uploads. Sites on other phpMyFAQ versions can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-17T19:16:31+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-111896","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111896","severity":null,"published_at":"2026-10-17T19:16:31+00:00","modified_at":"2026-10-19T17:17:05+00:00","first_seen_at":"2026-10-23T21:57:14+00:00","fetched_at":"2026-10-23T22:28:55+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}