LiveActive security incident?Get immediate response
CVE Record

CVE-2022-40841: A cross-site scripting (XSS) vulnerability in NdkAdvancedCustomizationFields v3.5.0 allows attackers to exe...

A cross-site scripting (XSS) vulnerability in NdkAdvancedCustomizationFields v3.5.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payloads injected into the "htmlNodes" parameter.

MediumCVSS 6.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-40841 is a cross-site scripting issue in NdkAdvancedCustomizationFields v3.5.0. An attacker could inject crafted content through the htmlNodes parameter so script or HTML runs in a victim’s browser. The published CVSS score is medium, and the source bundle does not show known active exploitation.

Executive priority

Address during the normal vulnerability remediation cycle unless the component is internet-facing, heavily used by customers, or handles authenticated sessions. Escalate if inventory confirms exposed vulnerable functionality or suspicious input activity.

Technical view

The CVE describes CWE-79 XSS reachable over the network with low attack complexity, no privileges required, and user interaction required. CVSS 3.1 is 6.1 with changed scope, low confidentiality and integrity impact, and no availability impact. The provided affected-product metadata is incomplete beyond naming NdkAdvancedCustomizationFields v3.5.0.

Likely exposure

Exposure is most likely limited to sites running NdkAdvancedCustomizationFields v3.5.0 where the htmlNodes parameter can be influenced by untrusted users. The CVE record does not provide CPEs, vendor details, or broader affected-version ranges.

Exploitation context

The bundle includes a public proof-of-concept reference, but no KEV listing and no cited evidence of active exploitation. Practical risk depends on whether vulnerable functionality is exposed to users and whether a victim can be induced to interact with crafted content.

Researcher notes

Evidence is limited to the CVE description, CVSS vector, CWE-79 classification, and a public PoC reference. The source bundle does not identify a vendor patch, affected CPEs, exploitation in the wild, or whether the XSS is reflected, stored, or DOM-based.

Mitigation direction

  • Inventory sites for NdkAdvancedCustomizationFields v3.5.0 usage.
  • Check vendor or project guidance for a fixed release or workaround.
  • Limit exposure of affected customization functionality until remediation is confirmed.
  • Apply strict output encoding and input validation around htmlNodes handling.
  • Treat WAF filtering as a temporary compensating control only.

Validation and detection

  • Confirm whether NdkAdvancedCustomizationFields v3.5.0 is present in production.
  • Identify routes or forms that process the htmlNodes parameter.
  • Review logs for suspicious htmlNodes input patterns without replaying payloads.
  • Verify remediation using non-destructive XSS test cases in a controlled environment.
  • Document whether user interaction is required in your deployment context.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-40841 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
2Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.1CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N2.82.7CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

6.1Medium
CVSS 3.1 vector shape for CVE-2022-40841Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.