cve-2026-41845
HIGH CVSS 7.1 csaf_redhat
Description
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
Timeline
- Published
- 2026-06-09 03:50 UTC
- Last Modified
- 2026-07-17
CVSS Details
CVSS details not available.
Affected Products
No product information available.
Weaknesses (CWE)
References
No references available.
Linked Vulnerabilities
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_vex",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright © Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41845.json"
}
],
"title": "org.springframework: Spring Framework: Cross-site scripting (XSS) via incorrect JavaScript escaping",
"tracking": {
"current_release_date": "2026-07-17T13:20:19+00:00",
"generator": {
"date": "2026-07-17T13:20:19+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.7"
}
},
"id": "CVE-2026-41845",
"initial_release_date": "2026-06-09T03:50:48.454000+00:00",
"revision_history": [
{
"date": "2026-06-09T03:50:48.454000+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-07-17T13:18:45+00:00",
"number": "2",
"summary": "Current version"
},
{
"date": "2026-07-17T13:20:19+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "OpenShift Developer Tools and Services",
"product": {
"name": "OpenShift Developer Tools and Services",
"product_id": "openshift_developer_tools_and_services",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:ocp_tools"
}
}
}
],
"category": "product_family",
"name": "OpenShift Developer Tools and Services"
},
{
"branches": [
{
"category": "product_name",
"name": "Red Hat OpenShift Dev Spaces",
"product": {
"name": "Red Hat OpenShift Dev Spaces",
"product_id": "red_hat_openshift_dev_spaces",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:openshift_devspaces:3"
}
}
}
],
"category": "product_family",
"name": "Red Hat OpenShift Dev Spaces"
},
{
"category": "product_version",
"name": "spring-web",
"product": {
"name": "spring-web",
"product_id": "spring-web",
"product_identification_helper": {
"purl": "pkg:maven/org.springframework/spring-web@6.2.14"
}
}
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "spring-web as a component of OpenShift Developer Tools and Services",
"product_id": "openshift_developer_tools_and_services:spring-web"
},
"product_reference": "spring-web",
"relates_to_product_reference": "openshift_developer_tools_and_services"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "spring-web as a component of Red Hat OpenShift Dev Spaces",
"product_id": "red_hat_openshift_dev_spaces:spring-web"
},
"product_reference": "spring-web",
"relates_to_product_reference": "red_hat_openshift_dev_spaces"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-41845",
"cwe": {
"id": "CWE-79",
"name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
},
"discovery_date": "2026-06-09T05:02:01.022933+00:00",
"flags": [
{
"label": "vulnerable_code_not_present",
"product_ids": [
"openshift_developer_tools_and_services:spring-web",
"red_hat_openshift_dev_spaces:spring-web"
]
}
],
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2486719"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in Spring Framework. Due to incorrect escaping when using JavaScriptUtils.javaScriptEscape(), a remote attacker could inject malicious JavaScript code into a user's browser. This could lead to a cross-site scripting (XSS) vulnerability, allowing the attacker to execute arbitrary scripts in the context of the user's browser, potentially leading to information disclosure or session hijacking.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "org.springframework: Spring Framework: Cross-site scripting (XSS) via incorrect JavaScript escaping",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "A flaw was found in Spring Framework. 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.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"known_not_affected": [
"openshift_developer_tools_and_services:spring-web",
"red_hat_openshift_dev_spaces:spring-web"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-41845"
},
{
"category": "external",
"summary": "RHBZ#2486719",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2486719"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-41845",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-41845"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-41845",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41845"
},
{
"category": "external",
"summary": "https://spring.io/security/cve-2026-41845",
"url": "https://spring.io/security/cve-2026-41845"
}
],
"release_date": "2026-06-09T03:50:48.454000+00:00",
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
"version": "3.1"
},
"products": [
"openshift_developer_tools_and_services:spring-web",
"red_hat_openshift_dev_spaces:spring-web"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate",
"product_ids": [
"openshift_developer_tools_and_services:spring-web",
"red_hat_openshift_dev_spaces:spring-web"
]
}
],
"title": "org.springframework: Spring Framework: Cross-site scripting (XSS) via incorrect JavaScript escaping"
}
]
}