Skip to content

Security: codelightjs/codelight.js

Security

SECURITY.md

Security

codelight.js turns code into HTML, so escaping is the main risk: all code text is HTML-escaped before it's inserted, and tests check that markup in highlighted code can't create elements.

Reporting a vulnerability

Please don't open a public issue. Email ckgdev@gmail.com or use GitHub's private vulnerability reporting on this repository, with a code sample that shows the problem. You'll get a reply within a few days.

Supported versions

Fixes go into the latest release.

There aren't any published security advisories