{"id":"CVE-2023-0313","published":"2023-01-15T00:00:00Z","modified":"2025-04-07T15:15:48Z","title":"Cross-site Scripting (XSS) - Stored in thorsten/phpmyfaq","vendor":"thorsten","product":"thorsten/phpmyfaq","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior to 3.1.10.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00435,"percentile":0.38634,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/bc27e84b-1f91-4e1b-a78c-944edeba8256","tags":[]},{"url":"https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.73},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"thorsten","affectedVersions":[{"vendor":"thorsten","product":"thorsten/phpmyfaq","versions":[">= unspecified, < 3.1.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-07T15:15:37.291767Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"thorsten/phpmyfaq","vulnerableRanges":["<3.1.10"],"patched":["3.1.10"],"from":["GHSA-x2h8-4mhh-5hwh"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the thorsten/phpmyfaq product (vendor thorsten), in versions prior to 3.1.10, where input is not properly neutralised before being included in generated web pages. An attacker with high-privilege authentication can exploit it, with no user interaction required and a low-complexity attack that is network-reachable, to inject script that is stored and served to other users, giving limited confidentiality, integrity and availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:13Z"},"euvd":{"id":"EUVD-2023-0582","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-thorsten-phpmyfaq-cve-2022-3608","parents":[{"from":"CVE-2022-3608","to":"CVE-2023-0313","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/src/phpMyFAQ/Database/DatabaseHelper.php","phpmyfaq/src/phpMyFAQ/Helper/CategoryHelper.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/37123edd50f854bd141e6fbe65221af2d5cf2677","https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b"],"basis":"shared function","functions":["renderStartPageCategories"]},{"kind":"similar","provenance":"machine","score":0.89,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-4408","to":"CVE-2023-0313","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/src/phpMyFAQ/Helper/QuestionHelper.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/e2ea332a2b5e798f2c39203b2489a2dabe831751","https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-4409","to":"CVE-2023-0313","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/src/Bootstrap.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/8b47f38f2f54b90d0f160125ad3d5994883c2072","https://github.com/thorsten/phpMyFAQ/commit/c16cc2bbe2687f75aa1204b804483091fae43cba","https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2023-0313","to":"CVE-2023-1879","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/admin/category.main.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b","https://github.com/thorsten/phpmyfaq/commit/0dc8e527c375007cd4b8dbf61f7167393a6f6e91","https://github.com/thorsten/phpMyFAQ/commit/a2642195e9fcb9a6f151bfaa4ff20bf1b905da2e"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2023-0313","to":"CVE-2023-1885","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/admin/category.main.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b","https://github.com/thorsten/phpmyfaq/commit/fecc803ab9c3e82718c4bcea7fe919d7a22ec024"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2023-0313","to":"CVE-2023-2752","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/faq.php","phpmyfaq/src/phpMyFAQ/Helper/FaqHelper.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b","https://github.com/thorsten/phpmyfaq/commit/e7599d49b0ece7ceef3a4e8d334782cc3df98be8"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.91,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2023-0313","to":"CVE-2023-2999","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/faq.php","phpmyfaq/src/phpMyFAQ/Helper/FaqHelper.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b","https://github.com/thorsten/phpmyfaq/commit/937913948cab382a38f681e0bd29c152e2f383cd"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2023-0313","to":"CVE-2023-6890","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpmyfaq/src/phpMyFAQ/Helper/FaqHelper.php"],"commits":["https://github.com/thorsten/phpmyfaq/commit/1123c0872314fa68d7d0d8136939f62270fb4b7b","https://github.com/thorsten/phpmyfaq/commit/97d90ebbe11ebc6081bf49a2ba4b60f227cd1b43"],"basis":"shared function","functions":["createOverview"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}]}}