luwes / luwes/craft-codemirror

VeraCode scan security issue

Open
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
JavaScript
Stars
17
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi,

We are using the craft3-codemirror plug-in for Craft CMS 3.5.13.2 and a recent VeraCode security scan came up with a medium security flaw for this plug-in.

The issue is reported on line 686 for /src/assets/addon/tern/tern.js

For more details: https://cwe.mitre.org/data/definitions/117.html

Can this be fixed ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting src/assets/addon/tern/tern.js at line 686 and reviewing the linked CWE-117 description alongside the VeraCode finding. Determine the change required to address that reported flaw, then verify that the finding is resolved with a new security scan.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.