GHSA-wxj2-777f-vxmf: Duplicate Advisory Cross-Site Scripting Vulnerability

MODERATE
CWE-79
Published
Advisory Summary

GHSA-wxj2-777f-vxmf is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves cross-site scripting vulnerability in tinymce plugins. Remediation is available in the latest vendor maintenance releases.

GHSA-wxj2-777f-vxmf at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wxj2-777f-vxmf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-wxj2-777f-vxmf

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tinymce fixed: Latest secure release
npm install tinymce@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls tinymce

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-wxj2-777f-vxmf, inspect your project dependencies using npm:

npm ls tinymce

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls tinymce command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-5h9g-x5rv-25wg. This link is maintained to preserve external references. ### Original Description TinyMCE versions before 5.10.0 are affected by a cross-site scripting vulnerability. A remote and unauthenticated attacker could introduce crafted image or link URLs that would result in the execution of arbitrary JavaScript in an editing user's browser.

GHSA-wxj2-777f-vxmf Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
tinymce
npm

References

Frequently Asked Questions

What is GHSA-wxj2-777f-vxmf?
GHSA-wxj2-777f-vxmf is a security vulnerability in Duplicate Advisory involving Cross-site scripting vulnerability in TinyMCE plugins under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: tinymce.
What version fixes GHSA-wxj2-777f-vxmf?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is tinymce affected?
Yes, tinymce is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-wxj2-777f-vxmf?
GHSA-wxj2-777f-vxmf is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check npm dependencies for GHSA-wxj2-777f-vxmf?
Run the dependency tree command: 'npm ls tinymce'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wxj2-777f-vxmf",
  "modified" : "2024-01-03T22:26:03Z",
  "published" : "2024-01-03T18:30:51Z",
  "withdrawn" : "2024-01-03T21:22:02Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Cross-site scripting vulnerability in TinyMCE plugins",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-5h9g-x5rv-25wg. This link is maintained to preserve external references.\n\n### Original Description\nTinyMCE versions before 5.10.0 are affected by a cross-site scripting vulnerability. A remote and unauthenticated attacker could introduce crafted image or link URLs that would result in the execution of arbitrary JavaScript in an editing user's browser.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "tinymce"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 5.10.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tinymce/tinymce/security/advisories/GHSA-r8hm-w5f7-wj39"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-21910"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jazzband/django-tinymce/issues/366"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-r8hm-w5f7-wj39"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jazzband/django-tinymce/releases/tag/3.4.0"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/django-tinymce/3.4.0"
  }, {
    "type" : "WEB",
    "url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-r8hm-w5f7-wj39"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-03T21:22:02Z",
    "nvd_published_at" : "2024-01-03T16:15:09Z"
  }
}