{"id":"CVE-2024-53255","state":"PUBLISHED","title":"Reflected Cross-site Scripting in /admin?page=media via file Parameter in BoidCMS","description":"BoidCMS is a free and open-source flat file CMS for building simple websites and blogs, developed using PHP and uses JSON as a database. In affected versions a reflected Cross-site Scripting (XSS) vulnerability exists in the /admin?page=media endpoint in the file parameter, allowing an attacker to inject arbitrary JavaScript code. This code could be used to steal the user's session cookie, perform phishing attacks, or deface the website. This issue has been addressed in version 2.1.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","publishedAt":"2024-11-25T19:01:37.886Z","updatedAt":"2024-11-25T19:25:01.239Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["BoidCMS BoidCMS"],"affected":[{"vendor":"BoidCMS","product":"BoidCMS","versions":[{"version":"< 2.1.2","status":"affected"}]}],"references":["https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-7q7m-cgw8-px4r","https://github.com/BoidCMS/BoidCMS/commit/42f4d703a87f5199bbd701b3495a26c91b9cfab7"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53255.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-53255","state":"PUBLISHED","datePublished":"2024-11-25T19:01:37.886Z","dateUpdated":"2024-11-25T19:25:01.239Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-19T20:08:14.479Z"},"containers":{"cna":{"title":"Reflected Cross-site Scripting in /admin?page=media via file Parameter in BoidCMS","descriptions":[{"lang":"en","value":"BoidCMS is a free and open-source flat file CMS for building simple websites and blogs, developed using PHP and uses JSON as a database. In affected versions a reflected Cross-site Scripting (XSS) vulnerability exists in the /admin?page=media endpoint in the file parameter, allowing an attacker to inject arbitrary JavaScript code. This code could be used to steal the user's session cookie, perform phishing attacks, or deface the website. This issue has been addressed in version 2.1.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability."}],"affected":[{"vendor":"BoidCMS","product":"BoidCMS","versions":[{"version":"< 2.1.2","status":"affected"}]}],"references":[{"url":"https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-7q7m-cgw8-px4r","name":"https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-7q7m-cgw8-px4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BoidCMS/BoidCMS/commit/42f4d703a87f5199bbd701b3495a26c91b9cfab7","name":"https://github.com/BoidCMS/BoidCMS/commit/42f4d703a87f5199bbd701b3495a26c91b9cfab7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-25T19:01:37.886Z"},"source":{"advisory":"GHSA-7q7m-cgw8-px4r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"boidcms","product":"boidcms","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.1.2","versionType":"custom"}],"cpes":["cpe:2.3:a:boidcms:boidcms:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-25T19:22:54.229834Z","id":"CVE-2024-53255","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-25T19:25:01.239Z"}}]}}}