Skip to content
Heist/ feed
Back to feed
Medium

Reflected Cross-site Scripting in /admin?page=media via file Parameter in BoidCMS

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-53255
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:52 UTC · Revision 1

Source evidence

Reflected Cross-site Scripting in /admin?page=media via file Parameter in BoidCMS

core-osv · Original source

Published 25 Nov 2024, 19:01 UTC

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.

osv:CVE-2024-53255
Complete source record
{
  "id": "e624ea4fb3a877a24e87e9d797a806813fbaa48abf0d3a821968c222c2819855",
  "url": "https://osv.dev/vulnerability/CVE-2024-53255",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Reflected Cross-site Scripting in /admin?page=media via file Parameter in BoidCMS",
    "summary": "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.",
    "evidence": "osv:CVE-2024-53255",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-53255",
      "aliases": [
        "CVE-2024-53255",
        "GHSA-7q7m-cgw8-px4r"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/boidcms/boidcms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "42f4d703a87f5199bbd701b3495a26c91b9cfab7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "42f4d703a87f5199bbd701b3495a26c91b9cfab7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:boidcms:boidcms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53255.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.283502060Z",
      "provider": "osv",
      "references": [
        "https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-7q7m-cgw8-px4r",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53255.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-53255",
        "https://github.com/BoidCMS/BoidCMS/commit/42f4d703a87f5199bbd701b3495a26c91b9cfab7"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53255.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53255",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500410,
  "published_at": "2024-11-25T19:01:37.886+00:00"
}