{"items":[{"id":"NVI-00001936","kind":"vulnerability","title":"phpMyFAQ has Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-f5p7-2c9q-8896","CVE-2026-46363"],"plain_summary":"GitHub lists this reviewed advisory for phpmyfaq/phpmyfaq, thorsten/phpmyfaq. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-032c8422b5b56b363a06820f73277324"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-09T00:00:33.000Z","value":"5.4 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-4e1b3782f3733ae4eb80c6ff100d8b22"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"5.4 MEDIUM (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"5.1 MEDIUM (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c"},{"kind":"EPSS","as_of":"2026-11-02T12:00:30.000Z","value":"0.187%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.08325. Missing scores are unknown.","source_id":"sr-032c8422b5b56b363a06820f73277324"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-4e1b3782f3733ae4eb80c6ff100d8b22","url":"https://github.com/advisories/GHSA-f5p7-2c9q-8896","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-f5p7-2c9q-8896","publisher":"GitHub Advisory Database","observed_at":"2026-11-06T20:58:31.464Z"},{"id":"sr-05bf9cb654bca4ca9c1521b9b2847780","url":"https://github.com/advisories/GHSA-f5p7-2c9q-8896","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-f5p7-2c9q-8896","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.709Z"},{"id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46363","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46363","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:11.754Z"},{"id":"sr-032c8422b5b56b363a06820f73277324","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46363","publisher":"FIRST EPSS","observed_at":"2026-11-02T20:15:58.855Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4e1b3782f3733ae4eb80c6ff100d8b22"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["<= 4.1.1"]},{"certainty":"source_listed","source_ids":["sr-4e1b3782f3733ae4eb80c6ff100d8b22"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["<= 4.1.1"]},{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-08T15:11:47.485Z","source_updated_at":"2026-06-09T00:00:33.000Z","source_disclosed_at":"2026-05-06T20:18:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:10.709Z"},{"id":"NVI-00001936","kind":"vulnerability","title":"phpMyFAQ has Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-f5p7-2c9q-8896","CVE-2026-46363"],"plain_summary":"OSV carries this publisher advisory for phpmyfaq/phpmyfaq, thorsten/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-032c8422b5b56b363a06820f73277324"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"5.4 MEDIUM (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"5.1 MEDIUM (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c"},{"kind":"EPSS","as_of":"2026-11-02T12:00:30.000Z","value":"0.187%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.08325. Missing scores are unknown.","source_id":"sr-032c8422b5b56b363a06820f73277324"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-05bf9cb654bca4ca9c1521b9b2847780","url":"https://github.com/advisories/GHSA-f5p7-2c9q-8896","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-f5p7-2c9q-8896","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.709Z"},{"id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46363","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46363","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:11.754Z"},{"id":"sr-032c8422b5b56b363a06820f73277324","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46363","publisher":"FIRST EPSS","observed_at":"2026-11-02T20:15:58.855Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-03T17:49:14.993Z","source_updated_at":"2026-09-10T03:51:05.351Z","source_disclosed_at":"2026-05-06T20:18:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:10.709Z"},{"id":"NVI-00001936","kind":"vulnerability","title":"phpMyFAQ has Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-f5p7-2c9q-8896","CVE-2026-46363"],"plain_summary":"OSV carries this publisher advisory for phpmyfaq/phpmyfaq, thorsten/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-4a655d0fa3abe0f07b03b2cdb39dd65c"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"5.4 MEDIUM (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c"},{"kind":"CVSS","as_of":"2026-10-26T14:10:00.130Z","value":"5.1 MEDIUM (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-05bf9cb654bca4ca9c1521b9b2847780","url":"https://github.com/advisories/GHSA-f5p7-2c9q-8896","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-f5p7-2c9q-8896","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.709Z"},{"id":"sr-4a655d0fa3abe0f07b03b2cdb39dd65c","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46363","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46363","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:11.754Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-11-01T14:34:07.648Z","source_updated_at":"2026-09-10T03:51:05.351Z","source_disclosed_at":"2026-05-06T20:18:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:10.709Z"},{"id":"NVI-00001936","kind":"vulnerability","title":"phpMyFAQ has Stored XSS in FAQ Question/Answer via Encode-Decode Bypass of removeAttributes() Sanitization","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-f5p7-2c9q-8896","CVE-2026-46363"],"plain_summary":"OSV carries this publisher advisory for phpmyfaq/phpmyfaq, thorsten/phpmyfaq. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.2 for phpmyfaq/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.1.2 for thorsten/phpmyfaq. Confirm the publisher’s latest guidance.","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-05bf9cb654bca4ca9c1521b9b2847780","url":"https://github.com/advisories/GHSA-f5p7-2c9q-8896","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-f5p7-2c9q-8896","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.709Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"phpmyfaq/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]},{"certainty":"source_listed","source_ids":["sr-05bf9cb654bca4ca9c1521b9b2847780"],"technology":"thorsten/phpmyfaq","known_exclusions":[],"conditions_summary":"## Summary\n\nThe FAQ creation and update endpoints in phpMyFAQ apply `FILTER_SANITIZE_SPECIAL_CHARS` (which HTML-encodes input), then immediately call `html_entity_decode()` which reverses the encoding, followed by `Filter::removeAttributes()` which only strips HTML attributes — not tags. This allows ``, ``, ``, and `` tags to be stored in the database and rendered unescaped via `{{ answer|raw }}` and `{{ question|raw }}` in the Twig template, causing JavaScript execution in every visitor's browser.\n\n## Details\n\n**Vulnerable code path (FAQ create — `FaqController.php`):**\n\nAt line 120, the answer content is filtered:\n```php\n$content = Filter::filterVar($data->answer, FILTER_SANITIZE_SPECIAL_CHARS);\n```\n\n`Filter::filterVar()` calls `filterSanitizeString()` (`Filter.php:135-144`) which applies `htmlspecialchars()`, converting `` to `&lt;script&gt;`. The regex `/\\x00|]*>?/` then finds no literal angle brackets to strip.\n\nAt lines 150-154, the encoded content is decoded and passed to attribute-only sanitization:\n```php\n->setAnswer(Filter::removeAttributes(html_entity_decode(\n    (string) $content,\n    ENT_QUOTES | ENT_HTML5,\n    encoding: 'UTF-","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.2"]}],"null_published_at":"2026-10-31T21:53:28.059Z","source_updated_at":"2026-09-10T03:51:05.351Z","source_disclosed_at":"2026-05-06T20:18:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:10.709Z"}],"next_cursor":null,"snapshot_revision":"42594"}