{"api_version":"1","generated_at":"2026-07-23T14:17:56+00:00","cve":"CVE-2022-21666","urls":{"html":"https://cve.report/CVE-2022-21666","api":"https://cve.report/api/cve/CVE-2022-21666.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21666","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21666"},"summary":{"title":"CVE-2022-21666","description":"Useful Simple Open-Source CMS (USOC) is a content management system (CMS) for programmers. Versions prior to Pb2.4Bfx3 allowed Sql injection in usersearch.php only for users with administrative privileges. Users should replace the file `admin/pages/useredit.php` with a newer version. USOC version Pb2.4Bfx3 contains a fixed version of `admin/pages/useredit.php`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-01-10 20:15:00","updated_at":"2022-01-19 13:16:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://github.com/Aaron-Junker/USOC/releases/tag/Pb2.4Bfx3","name":"https://github.com/Aaron-Junker/USOC/releases/tag/Pb2.4Bfx3","refsource":"MISC","tags":[],"title":"Release Pb2.4Bfx3 · Aaron-Junker/USOC · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Aaron-Junker/USOC/security/advisories/GHSA-557p-hhpc-4wrx","name":"https://github.com/Aaron-Junker/USOC/security/advisories/GHSA-557p-hhpc-4wrx","refsource":"CONFIRM","tags":[],"title":"SQL Injection in useredit.php · Advisory · Aaron-Junker/USOC · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10","name":"https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10","refsource":"MISC","tags":[],"title":"Update usersearch.php · Aaron-Junker/USOC@c331d26 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21666","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21666","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21666","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"useful_simple_open-source_cms_project","cpe5":"useful_simple_open-source_cms","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-21666","STATE":"PUBLIC","TITLE":" SQL Injection in useredit.php"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"USOC","version":{"version_data":[{"version_value":"< Pb2.4Bfx3"}]}}]},"vendor_name":"Aaron-Junker"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Useful Simple Open-Source CMS (USOC) is a content management system (CMS) for programmers. Versions prior to Pb2.4Bfx3 allowed Sql injection in usersearch.php only for users with administrative privileges. Users should replace the file `admin/pages/useredit.php` with a newer version. USOC version Pb2.4Bfx3 contains a fixed version of `admin/pages/useredit.php`."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/Aaron-Junker/USOC/security/advisories/GHSA-557p-hhpc-4wrx","refsource":"CONFIRM","url":"https://github.com/Aaron-Junker/USOC/security/advisories/GHSA-557p-hhpc-4wrx"},{"name":"https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10","refsource":"MISC","url":"https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10"},{"name":"https://github.com/Aaron-Junker/USOC/releases/tag/Pb2.4Bfx3","refsource":"MISC","url":"https://github.com/Aaron-Junker/USOC/releases/tag/Pb2.4Bfx3"}]},"source":{"advisory":"GHSA-557p-hhpc-4wrx","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-01-10 20:15:00","lastModifiedDate":"2022-01-19 13:16:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:useful_simple_open-source_cms_project:useful_simple_open-source_cms:*:*:*:*:*:*:*:*","versionEndExcluding":"pb2.4bfx3","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"21666","Ordinal":"221426","Title":"CVE-2022-21666","CVE":"CVE-2022-21666","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"21666","Ordinal":"1","NoteData":"Useful Simple Open-Source CMS (USOC) is a content management system (CMS) for programmers. Versions prior to Pb2.4Bfx3 allowed Sql injection in usersearch.php only for users with administrative privileges. Users should replace the file `admin/pages/useredit.php` with a newer version. USOC version Pb2.4Bfx3 contains a fixed version of `admin/pages/useredit.php`.","Type":"Description","Title":null},{"CveYear":"2022","CveId":"21666","Ordinal":"2","NoteData":"2022-01-10","Type":"Other","Title":"Published"},{"CveYear":"2022","CveId":"21666","Ordinal":"3","NoteData":"2022-01-10","Type":"Other","Title":"Modified"}]}}}