Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-25063

An XSS issue was discovered in Backdrop CMS 1.28.x before 1.28.5 and 1.29.x before 1.29.3. It does not sufficiently validate uploaded SVG images to ensure they do not contain potentially dangerous SVG tags. SVG images can contain clickable links and executable scripting, and using a crafted SVG, it is possible to execute scripting in the browser when an SVG image is viewed. This issue is mitigated by the attacker needing to be able to upload SVG images, and that Backdrop embeds all uploaded SVG images within <img> tags, which prevents scripting from executing. The SVG must be viewed directly by its URL in order to run any embedded scripting.

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

Source evidence

CVE-2025-25063

core-osv · Original source

Published 3 Feb 2025, 00:00 UTC

An XSS issue was discovered in Backdrop CMS 1.28.x before 1.28.5 and 1.29.x before 1.29.3. It does not sufficiently validate uploaded SVG images to ensure they do not contain potentially dangerous SVG tags. SVG images can contain clickable links and executable scripting, and using a crafted SVG, it is possible to execute scripting in the browser when an SVG image is viewed. This issue is mitigated by the attacker needing to be able to upload SVG images, and that Backdrop embeds all uploaded SVG images within <img> tags, which prevents scripting from executing. The SVG must be viewed directly by its URL in order to run any embedded scripting.

osv:CVE-2025-25063
Complete source record
{
  "id": "da6e883ec416682d712e6266c175033efebadf797eae8e0c96daa47fd58adc0c",
  "url": "https://osv.dev/vulnerability/CVE-2025-25063",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-25063",
    "summary": "An XSS issue was discovered in Backdrop CMS 1.28.x before 1.28.5 and 1.29.x before 1.29.3. It does not sufficiently validate uploaded SVG images to ensure they do not contain potentially dangerous SVG tags. SVG images can contain clickable links and executable scripting, and using a crafted SVG, it is possible to execute scripting in the browser when an SVG image is viewed. This issue is mitigated by the attacker needing to be able to upload SVG images, and that Backdrop embeds all uploaded SVG images within <img> tags, which prevents scripting from executing. The SVG must be viewed directly by its URL in order to run any embedded scripting.",
    "evidence": "osv:CVE-2025-25063",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-25063",
      "aliases": [
        "CVE-2025-25063"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/backdrop/backdrop",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cb77a9c8df5dd334ceedd22365bfc021975b9e69"
                },
                {
                  "fixed": "d8af51f9cd8b081dd27a59e2925246b6e8bfd6cf"
                },
                {
                  "introduced": "4b3e2d2f25c01f3187afc5e56fb6a44930a1bbac"
                },
                {
                  "fixed": "5b4c88bf2da3c07ab78aed273de943a455e4bdfa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:backdropcms:backdrop_cms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.28.0"
                      },
                      {
                        "fixed": "1.28.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:backdropcms:backdrop_cms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.29.0"
                      },
                      {
                        "fixed": "1.29.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.29.2",
            "1.28.4",
            "1.29.1",
            "1.29.0",
            "1.28.3",
            "1.28.2",
            "1.28.1",
            "1.28.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25063.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.595856224Z",
      "provider": "osv",
      "references": [
        "https://backdropcms.org/security/backdrop-sa-core-2025-002",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25063.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-25063"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "mitre",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.28.0"
                  },
                  {
                    "fixed": "1.28.5"
                  },
                  {
                    "introduced": "1.29.0"
                  },
                  {
                    "fixed": "1.29.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25063.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-25063",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501033,
  "published_at": "2025-02-03T00:00:00+00:00"
}