Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: code-canning char sanitization #60

Merged
merged 1 commit into from
Nov 13, 2024

fix: code-canning char sanitization

ec49ce1
Select commit
Loading
Failed to load commit list.
Merged

fix: code-canning char sanitization #60

fix: code-canning char sanitization
ec49ce1
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Nov 13, 2024 in 3s

2 new alerts including 2 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 2 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 164 in src/services/content/getPostFromFile.ts

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<!--
, which may cause an HTML element injection vulnerability.

Check failure on line 169 in src/services/content/getPostFromFile.ts

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<script
, which may cause an HTML element injection vulnerability.