{"id":"CVE-2025-45525","aliases":["CVE-2025-45525","GHSA-64x7-m7rh-9m83"],"related":[],"kind":"vulnerability","state":"published","title":"A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a lightweight syntax highl…","summary":"A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a lightweight syntax highlighting library. When processing elements with non-standard CSS color values, the library fails to validate the result of a regular expression match before accessing its properties, leading to an uncaught TypeError and potential application crash. NOTE: this is disputed by multiple parties because there is no common scenario in which an adversary can insert those non-standard values.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a lightweight syntax highlighting library. When processing elements with non-standard CSS color values, the library fails to validate the result of a regular expression match before accessing its properties, leading to an uncaught TypeError and potential application crash. NOTE: this is disputed by multiple parties because there is no common scenario in which an adversary can insert those non-standard values.","source":"cvelist"},{"lang":"en","text":"## Withdrawn Advisory\nThis advisory has been withdrawn because a website owner has to set CSS color values. The proof of concept doesn't demonstrate how a malicious user who is not the website owner can cause an application crash. This link has been maintained to preserve external references.\n\n## Original Description\nA null pointer dereference vulnerability was discovered in microlight.js (version 0.0.7), a lightweight syntax highlighting library. When processing elements with non-standard CSS color values, the library fails to validate the result of a regular expression match before accessing its properties, leading to an uncaught TypeError and potential application crash.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió una vulnerabilidad de desreferencia de puntero nulo en microlight.js (versión 0.0.7), una librería ligera de resaltado de sintaxis. Al procesar elementos con valores de color CSS no estándar, la librería no valida el resultado de una coincidencia de expresión regular antes de acceder a sus propiedades, lo que provoca un error de tipo no detectado y un posible bloqueo de la aplicación.","source":"nvd"}],"published":"2025-06-17T00:00:00.000Z","modified":"2026-09-10T03:50:24.889Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":2.9,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":2.9,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","rating":"LOW"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.0.7","status":"affected"}],"vendor":"asvd","product":"microlight","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.7"}],"ecosystem":"npm","package":"microlight","purl":"pkg:npm/microlight","source":"ghsa"}],"references":[{"url":"https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/github/advisory-database/pull/5730","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45525","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/asvd/microlight","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-06-18T13:20:58.473Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-45525","url":"https://www.cve.org/CVERecord?id=CVE-2025-45525","licence":"CVE Terms of Use","modified":"2025-08-26T18:51:45.895Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-64x7-m7rh-9m83","url":"https://github.com/advisories/GHSA-64x7-m7rh-9m83","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:24.889Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-45525","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45525","licence":"Public domain","modified":"2026-06-17T09:25:34.247Z"}],"updatedAt":"2026-11-25T22:58:59.321Z","epss":{"score":0.00152,"percentile":0.0461,"date":"2026-12-01T12:00:22.000Z"}}