CVE-2026-41845: spring spring framework Cross-site Scripting
Vulnerability summary
CVE-2026-41845 is a high (CVSS 7.1) Cross-site Scripting vulnerability in spring spring framework. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 09-06-2026PublishedVulnerability first disclosed.
- 27-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- OSV · MavenEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
+0.12 pp
From 0.16% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard14 products
- apache-activemq-5.19All versions (No fix recorded)
- apache-activemq-6.2< 6.2.8-r2
- apache-activemq-fips-5.19All versions (No fix recorded)
- apache-activemq-fips-6.2< 6.2.8-r4
- apache-nifi-registry< 2.10.0-r4 | < 2.10.0-r3
Debian1 product
- libspring-javaAll versions (No fix recorded)
Org.springframework1 product
- spring-webmvc≥ 7.0.0, < 7.0.8 | ≥ 6.2.0, < 6.2.19 | ≥ 6.1.0, ≤ 6.1.21 | ≤ 5.3.39
Spring1 product
- spring framework≥ 7.0.0, < 7.0.7.1 | ≥ 6.2.0, < 6.2.18.1 | ≥ 6.1.0, < 6.1.28 | ≥ 5.3.0, < 5.3.49
Ubuntu1 product
- libspring-javaAll versions (No fix recorded)
Vmware1 product
- spring_framework≥ 5.3.0, < 5.3.49 | ≥ 6.1.0, < 6.1.28 | ≥ 6.2.0, < 6.2.18.1 | ≥ 7.0.0, < 7.0.7.1
Wolfi1 product
- apache-nifi-registry< 2.10.0-r4 | < 2.10.0-r3
7 vendors · 20 products