LiveActive security incident?Get immediate response
CVE Record

CVE-2022-40027: SourceCodester Simple Task Managing System v1.0 was discovered to contain a cross-site scripting (XSS) vuln...

SourceCodester Simple Task Managing System v1.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the component newTask.php. This vulnerability allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the shortName parameter.

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 issue in SourceCodester Simple Task Managing System v1.0. An attacker could place script or HTML content in the shortName field, potentially affecting users who view the resulting page. The published score is medium, and the bundle does not show known active exploitation.

Executive priority

Handle as a moderate web-application risk. Prioritize internet-facing or shared internal deployments because successful XSS can undermine user trust, expose session-adjacent data, or enable unauthorized actions in a victim’s browser. No source-provided evidence supports emergency treatment as actively exploited.

Technical view

CVE-2022-40027 is CWE-79 XSS in newTask.php through the shortName parameter. The CVSS 3.1 score is 6.1 with network access, low complexity, no privileges, required user interaction, changed scope, and low confidentiality and integrity impact. The supplied records do not identify CPEs or a fixed version.

Likely exposure

Exposure is most likely where SourceCodester Simple Task Managing System v1.0 is deployed, especially if reachable by untrusted users. Inventory may be harder because the CVE record lists affected vendor, product, versions, and CPEs as n/a despite the description naming the application and version.

Exploitation context

The source bundle includes a public researcher reference, but no KEV listing and no cited evidence of active exploitation. Exploitation requires a user interaction condition under the CVSS vector, so risk depends on who can submit task data and who later views it.

Researcher notes

The affected metadata is incomplete: vendor, product, versions, and CPEs are n/a, while the description names SourceCodester Simple Task Managing System v1.0. The reference points to newTask.php and shortName. Do not assume broader versions or exploit status without additional vendor or maintainer evidence.

Mitigation direction

  • Check SourceCodester or project maintainer guidance for an updated release or official fix.
  • Review newTask.php handling of shortName for validation and contextual output encoding.
  • Restrict access to the application if untrusted users can create tasks.
  • Use compensating controls such as web filtering where immediate code review is not possible.
  • Treat this as a patch-or-retire decision for unsupported public deployments.

Validation and detection

  • Confirm whether SourceCodester Simple Task Managing System v1.0 exists in the environment.
  • Identify whether newTask.php is reachable by untrusted or low-trust users.
  • Review task-name rendering paths for unencoded user-controlled shortName values.
  • Check application logs for suspicious task names containing script or HTML markers.
  • Document whether any vendor patch, fork fix, or local code change has been applied.
Prepared
Confidence
medium
Sources
4

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-40027 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
3Source 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-40027Attack 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.