Skip to main content
CVE-2026-41845VulnerabilityPublished Updated

Libspring java: Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code

Affects libspring-javaSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41845· High 7.1

Not known to be exploited · CVSS 7.1 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=stonkingOther threatsAffected
  • =4.3.30-3ubuntu1
Fixed in–
Ubuntu 26.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=resoluteOther threatsAffected
  • =4.3.30-3ubuntu1
Fixed in–
Ubuntu 25.10libspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=questingOther threatsAffected
  • =4.3.30-2ubuntu1
  • =4.3.30-3ubuntu1
Fixed in–
Ubuntu Pro 24.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =4.3.30-2
  • =4.3.30-2ubuntu0.24.04.1~esm1
Fixed in–
Ubuntu Pro 22.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =4.3.30-1
  • =4.3.30-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 20.04 LTSlibspring-javapkg:deb/ubuntu/libspring-java?arch=source&distro=esm-apps/focalOther threatsAffected
  • =4.3.22-4
  • =4.3.22-4ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…