CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2026-41845

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.1 · high

Spring Framework Cross-site Scripting via JavaScriptUtils

Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.161% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.1 · published by vmware
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Assessment source · checked 2026-11-19T12:58:30.447Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:30.447ZCVE Program
epssverified2026-11-19T16:04:50.042ZFIRST EPSS
patchesverified2026-11-19T12:52:09.886ZOSV
affectedverified2026-11-19T12:58:30.447ZCVE Program
lifecycleverified2026-11-19T12:58:30.447ZCVE Program

Affected versions and configuration

Spring Spring Framework; default status: unaffected: 7.0.0 to < 7.0.7.1 [affected; scheme: custom]; 6.2.0 to < 6.2.18.1 [affected; scheme: custom]; 6.1.0 to < 6.1.28 [affected; scheme: custom]; 5.3.0 to < 5.3.49 [affected; scheme: custom]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Spring",
      "product": "Spring Framework",
      "versions": [
        {
          "status": "affected",
          "version": "7.0.0",
          "lessThan": "7.0.7.1",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "6.2.0",
          "lessThan": "6.2.18.1",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "6.1.0",
          "lessThan": "6.1.28",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "5.3.0",
          "lessThan": "5.3.49",
          "versionType": "custom"
        }
      ],
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-41845",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-09T13:33:16.137910Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-09T13:33:23.346Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-3chg-m5w7-qfv5",
  "aliases": [
    "CVE-2026-41845"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.0.8"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "7.0.0",
        "7.0.1",
        "7.0.2",
        "7.0.3",
        "7.0.4",
        "7.0.5",
        "7.0.6",
        "7.0.7"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3chg-m5w7-qfv5/GHSA-3chg-m5w7-qfv5.json",
        "last_known_affected_version_range": "<= 7.0.7"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.2.19"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.2.0",
        "6.2.1",
        "6.2.10",
        "6.2.11",
        "6.2.12",
        "6.2.13",
        "6.2.14",
        "6.2.15",
        "6.2.16",
        "6.2.17",
        "6.2.18",
        "6.2.2",
        "6.2.3",
        "6.2.4",
        "6.2.5",
        "6.2.6",
        "6.2.7",
        "6.2.8",
        "6.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3chg-m5w7-qfv5/GHSA-3chg-m5w7-qfv5.json",
        "last_known_affected_version_range": "<= 6.2.18"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.1.0"
            },
            {
              "last_affected": "6.1.21"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.1.0",
        "6.1.1",
        "6.1.10",
        "6.1.11",
        "6.1.12",
        "6.1.13",
        "6.1.14",
        "6.1.15",
        "6.1.16",
        "6.1.17",
        "6.1.18",
        "6.1.19",
        "6.1.2",
        "6.1.20",
        "6.1.21",
        "6.1.3",
        "6.1.4",
        "6.1.5",
        "6.1.6",
        "6.1.7",
        "6.1.8",
        "6.1.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3chg-m5w7-qfv5/GHSA-3chg-m5w7-qfv5.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5.3.39"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "1.0",
        "1.0-rc1",
        "1.0.1",
        "1.1",
        "1.1-rc1",
        "1.1-rc2",
        "1.1.1",
        "1.1.2",
        "1.1.3",
        "1.1.4",
        "1.1.5",
        "1.2",
        "1.2-rc1",
        "1.2-rc2",
        "1.2.1",
        "1.2.2",
        "1.2.3",
        "1.2.4",
        "1.2.5",
        "1.2.6",
        "1.2.7",
        "1.2.8",
        "1.2.9",
        "2.0",
        "2.0-m1",
        "2.0-m2",
        "2.0-m3",
        "2.0-m4",
        "2.0-m5",
        "2.0-rc1",
        "2.0-rc2",
        "2.0.1",
        "2.0.2",
        "2.0.3",
        "2.0.4",
        "2.0.5",
        "2.0.6",
        "2.0.7",
        "2.0.8",
        "2.5",
        "2.5.1",
        "2.5.2",
        "2.5.3",
        "2.5.4",
        "2.5.5",
        "2.5.6",
        "2.5.6.SEC01",
        "2.5.6.SEC02",
        "2.5.6.SEC03",
        "3.0.0.RELEASE",
        "3.0.1.RELEASE",
        "3.0.2.RELEASE",
        "3.0.3.RELEASE",
        "3.0.4.RELEASE",
        "3.0.5.RELEASE",
        "3.0.6.RELEASE",
        "3.0.7.RELEASE",
        "3.1.0.RELEASE",
        "3.1.1.RELEASE",
        "3.1.2.RELEASE",
        "3.1.3.RELEASE",
        "3.1.4.RELEASE",
        "3.2.0.RELEASE",
        "3.2.1.RELEASE",
        "3.2.10.RELEASE",
        "3.2.11.RELEASE",
        "3.2.12.RELEASE",
        "3.2.13.RELEASE",
        "3.2.14.RELEASE",
        "3.2.15.RELEASE",
        "3.2.16.RELEASE",
        "3.2.17.RELEASE",
        "3.2.18.RELEASE",
        "3.2.2.RELEASE",
        "3.2.3.RELEASE",
        "3.2.4.RELEASE",
        "3.2.5.RELEASE",
        "3.2.6.RELEASE",
        "3.2.7.RELEASE",
        "3.2.8.RELEASE",
        "3.2.9.RELEASE",
        "4.0.0.RELEASE",
        "4.0.1.RELEASE",
        "4.0.2.RELEASE",
        "4.0.3.RELEASE",
        "4.0.4.RELEASE",
        "4.0.5.RELEASE",
        "4.0.6.RELEASE",
        "4.0.7.RELEASE",
        "4.0.8.RELEASE",
        "4.0.9.RELEASE",
        "4.1.0.RELEASE",
        "4.1.1.RELEASE",
        "4.1.2.RELEASE",
        "4.1.3.RELEASE",
        "4.1.4.RELEASE",
        "4.1.5.RELEASE",
        "4.1.6.RELEASE",
        "4.1.7.RELEASE",
        "4.1.8.RELEASE",
        "4.1.9.RELEASE",
        "4.2.0.RELEASE",
        "4.2.1.RELEASE",
        "4.2.2.RELEASE",
        "4.2.3.RELEASE",
        "4.2.4.RELEASE",
        "4.2.5.RELEASE",
        "4.2.6.RELEASE",
        "4.2.7.RELEASE",
        "4.2.8.RELEASE",
        "4.2.9.RELEASE",
        "4.3.0.RELEASE",
        "4.3.1.RELEASE",
        "4.3.10.RELEASE",
        "4.3.11.RELEASE",
        "4.3.12.RELEASE",
        "4.3.13.RELEASE",
        "4.3.14.RELEASE",
        "4.3.15.RELEASE",
        "4.3.16.RELEASE",
        "4.3.17.RELEASE",
        "4.3.18.RELEASE",
        "4.3.19.RELEASE",
        "4.3.2.RELEASE",
        "4.3.20.RELEASE",
        "4.3.21.RELEASE",
        "4.3.22.RELEASE",
        "4.3.23.RELEASE",
        "4.3.24.RELEASE",
        "4.3.25.RELEASE",
        "4.3.26.RELEASE",
        "4.3.27.RELEASE",
        "4.3.28.RELEASE",
        "4.3.29.RELEASE",
        "4.3.3.RELEASE",
        "4.3.30.RELEASE",
        "4.3.4.RELEASE",
        "4.3.5.RELEASE",
        "4.3.6.RELEASE",
        "4.3.7.RELEASE",
        "4.3.8.RELEASE",
        "4.3.9.RELEASE",
        "5.0.0.RELEASE",
        "5.0.1.RELEASE",
        "5.0.10.RELEASE",
        "5.0.11.RELEASE",
        "5.0.12.RELEASE",
        "5.0.13.RELEASE",
        "5.0.14.RELEASE",
        "5.0.15.RELEASE",
        "5.0.16.RELEASE",
        "5.0.17.RELEASE",
        "5.0.18.RELEASE",
        "5.0.19.RELEASE",
        "5.0.2.RELEASE",
        "5.0.20.RELEASE",
        "5.0.3.RELEASE",
        "5.0.4.RELEASE",
        "5.0.5.RELEASE",
        "5.0.6.RELEASE",
        "5.0.7.RELEASE",
        "5.0.8.RELEASE",
        "5.0.9.RELEASE",
        "5.1.0.RELEASE",
        "5.1.1.RELEASE",
        "5.1.10.RELEASE",
        "5.1.11.RELEASE",
        "5.1.12.RELEASE",
        "5.1.13.RELEASE",
        "5.1.14.RELEASE",
        "5.1.15.RELEASE",
        "5.1.16.RELEASE",
        "5.1.17.RELEASE",
        "5.1.18.RELEASE",
        "5.1.19.RELEASE",
        "5.1.2.RELEASE",
        "5.1.20.RELEASE",
        "5.1.3.RELEASE",
        "5.1.4.RELEASE",
        "5.1.5.RELEASE",
        "5.1.6.RELEASE",
        "5.1.7.RELEASE",
        "5.1.8.RELEASE",
        "5.1.9.RELEASE",
        "5.2.0.RELEASE",
        "5.2.1.RELEASE",
        "5.2.10.RELEASE",
        "5.2.11.RELEASE",
        "5.2.12.RELEASE",
        "5.2.13.RELEASE",
        "5.2.14.RELEASE",
        "5.2.15.RELEASE",
        "5.2.16.RELEASE",
        "5.2.17.RELEASE",
        "5.2.18.RELEASE",
        "5.2.19.RELEASE",
        "5.2.2.RELEASE",
        "5.2.20.RELEASE",
        "5.2.21.RELEASE",
        "5.2.22.RELEASE",
        "5.2.23.RELEASE",
        "5.2.24.RELEASE",
        "5.2.25.RELEASE",
        "5.2.3.RELEASE",
        "5.2.4.RELEASE",
        "5.2.5.RELEASE",
        "5.2.6.RELEASE",
        "5.2.7.RELEASE",
        "5.2.8.RELEASE",
        "5.2.9.RELEASE",
        "5.3.0",
        "5.3.1",
        "5.3.10",
        "5.3.11",
        "5.3.12",
        "5.3.13",
        "5.3.14",
        "5.3.15",
        "5.3.16",
        "5.3.17",
        "5.3.18",
        "5.3.19",
        "5.3.2",
        "5.3.20",
        "5.3.21",
        "5.3.22",
        "5.3.23",
        "5.3.24",
        "5.3.25",
        "5.3.26",
        "5.3.27",
        "5.3.28",
        "5.3.29",
        "5.3.3",
        "5.3.30",
        "5.3.31",
        "5.3.32",
        "5.3.33",
        "5.3.34",
        "5.3.35",
        "5.3.36",
        "5.3.37",
        "5.3.38",
        "5.3.39",
        "5.3.4",
        "5.3.5",
        "5.3.6",
        "5.3.7",
        "5.3.8",
        "5.3.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3chg-m5w7-qfv5/GHSA-3chg-m5w7-qfv5.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41845",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/spring-projects/spring-framework/commit/86d99790dbaa8ce6bb1087ef92844d0abfdab015",
      "type": "WEB"
    },
    {
      "url": "https://github.com/spring-projects/spring-framework/commit/a1826b725c29fbb175fa7b4fc005aa3d78c32015",
      "type": "WEB"
    },
    {
      "url": "https://github.com/spring-projects/spring-framework",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19",
      "type": "WEB"
    },
    {
      "url": "https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8",
      "type": "WEB"
    },
    {
      "url": "https://spring.io/security/cve-2026-41845",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-09T05:16:36Z",
    "github_reviewed_at": "2026-07-30T16:55:41Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packageorg.springframework:spring-webmvcNot a distribution channel7.0.8Official record
ecosystem-boundaryMaven / packageorg.springframework:spring-webmvcNot a distribution channel6.2.19Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history