BreachSpiderVerified, not vibes

CVE-2024-31946 in Javascript products

Medium 4.2

An issue was discovered in Stormshield Network Security (SNS) 3.7.0 through 3.7.41, 3.10.0 through 3.11.29, 4.0 through 4.3.24, and 4.4.0 through 4.7.4. A user who has access to the SNS with write access on the email alerts page has the ability to create alert email containing malicious JavaScript, executed by the t...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.14.2
EPSS0.3%
EPSS percentile12th
FixUnknown

Requires local access, low complexity, high privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Javascript — —
Stormshield — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

An issue was discovered in Stormshield Network Security (SNS) 3.7.0 through 3.7.41, 3.10.0 through 3.11.29, 4.0 through 4.3.24, and 4.4.0 through 4.7.4. A user who has access to the SNS with write access on the email alerts page has the ability to create alert email containing malicious JavaScript, executed by the template preview. The following versions fix this: 3.7.42, 3.11.30, 4.3.25, and 4.7.5.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-31946
BreachSpider IDBS-2024-GLOBAL-191626-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Published2024-07-15
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related attack patterns (CAPEC)

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

Show all 6

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Stormshield Network Security (SNS) allows a user with write access to the email alerts page to inject malicious JavaScript into alert emails, which can be executed during template preview.

An attacker with write access to the email alerts page in Stormshield Network Security can craft an email alert containing malicious JavaScript. When the template preview is accessed, the JavaScript is executed in the context of the user's browser, potentially leading to unauthorized actions or data exfiltration.

Questions

What is CVE-2024-31946?

A vulnerability in Stormshield Network Security (SNS) allows a user with write access to the email alerts page to inject malicious JavaScript into alert emails, which can be executed during template preview.

What is the CVSS score for CVE-2024-31946?

CVE-2024-31946 has CVSS 4.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N. EPSS: 0.3%.

Is CVE-2024-31946 actively exploited?

No confirmed active exploitation of CVE-2024-31946 as of 2026-05-30.

How do I remediate CVE-2024-31946?

Priority: HIGH.

What systems are affected by CVE-2024-31946?

CVE-2024-31946 affects Javascript; Stormshield.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Javascript","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.