LiveActive security incident?Get immediate response
CVE Record

CVE-2022-40840: ndk design NdkAdvancedCustomizationFields 3.5.0 is vulnerable to Cross Site Scripting (XSS) via createPdf.php.

ndk design NdkAdvancedCustomizationFields 3.5.0 is vulnerable to Cross Site Scripting (XSS) via createPdf.php.

MediumCVSS 6.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This CVE describes a cross-site scripting flaw in ndk design NdkAdvancedCustomizationFields 3.5.0 through createPdf.php. If reachable, it could let attacker-controlled script run in a user's browser after interaction, creating limited data exposure or content manipulation risk.

Executive priority

Handle as a moderate web application risk. Prioritize internet-facing sites and customer or admin workflows where session trust or user data could be affected. The urgency is lower than remote code execution, but public proof-of-concept availability supports timely validation.

Technical view

The record maps to CWE-79 with CVSS 3.1 score 6.1. The vector indicates network access, low attack complexity, no privileges, required user interaction, changed scope, low confidentiality and integrity impact, and no availability impact. The source bundle does not name a fixed version.

Likely exposure

Likely exposure is limited to sites running NdkAdvancedCustomizationFields 3.5.0 where createPdf.php is accessible. The affected product metadata is incomplete in the CVE record, so teams should confirm exposure from local asset inventory and application files.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. The GitHub reference is a public proof-of-concept reference, but this analysis does not rely on or reproduce exploit steps. User interaction is required according to the CVSS vector.

Researcher notes

The public record is sparse: affected vendor/product CPEs are not populated, and no patch details are included. The strongest technical facts are the product/version in the description, createPdf.php location, CWE-79 classification, CVSS vector, and non-KEV status from the supplied bundle.

Mitigation direction

  • Inventory any use of NdkAdvancedCustomizationFields and confirm whether version 3.5.0 is present.
  • Check vendor or maintainer guidance for fixed versions or official remediation.
  • Disable or remove the component if the affected customization feature is unused.
  • Restrict public access to createPdf.php where business requirements allow.
  • Apply defensive browser controls such as CSP as compensating protection.

Validation and detection

  • Confirm whether createPdf.php exists and is reachable on public web properties.
  • Verify installed component name and version against NdkAdvancedCustomizationFields 3.5.0.
  • Review PDF creation inputs for server-side validation and output encoding.
  • Check logs for suspicious requests to createPdf.php around user sessions.
  • Retest after remediation without using offensive payloads in production.
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-40840 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: noneAutomatable: 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-40840Attack 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.