{
  "id": "CVE-2025-12758",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-12758",
  "published_at": "2025-11-27T05:00:01.916Z",
  "product": "validator",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-12-11T03:10:17Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 13.9,
    "repo": "open-flaw/CVE-2025-12758",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Versions of the package validator before 13.15.22 are vulnerable to Incomplete Filtering of One or More Instances of Special Elements in the isLength() function that does not take into account Unicode variation selectors (\\uFE0F, \\uFE0E) appearing in a sequence which lead to improper string length calculation. This can lead to an application using isLength for input validation accepting strings significantly longer than intended, resulting in issues like data truncation in databases, buffer overflows in other system components, or denial-of-service.",
  "cwe": "CWE-792",
  "cpes": [
    "cpe:2.3:a:validator_project:validator:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [
    {
      "repo": "open-flaw/CVE-2025-12758",
      "url": "https://github.com/open-flaw/CVE-2025-12758",
      "created_at": "2025-12-11T03:10:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-05-16T13:40:22Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "validator",
        "ranges": [
          "\u003c 13.15.22"
        ],
        "fixed_in": [
          "13.15.22"
        ]
      },
      {
        "vendor": "n/a",
        "product": "org.webjars.npm:validator",
        "ranges": [
          "\u003c 13.15.22"
        ],
        "fixed_in": [
          "13.15.22"
        ]
      }
    ],
    "upgrade": [
      "Upgrade validator to 13.15.22 or later.",
      "Upgrade org.webjars.npm:validator to 13.15.22 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/validatorjs/validator.js/pull/2616"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
