Skip to content

SubtleCrypto: implement encrypt() and decrypt()

601c035
Select commit
Loading
Failed to load commit list.
Merged

Partial implementation for SubtleCrypto #1103

SubtleCrypto: implement encrypt() and decrypt()
601c035
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Mar 16, 2026 in 3s

1 new alert including 1 high severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 187 in src/main/java/org/htmlunit/javascript/host/crypto/SubtleCrypto.java

See this annotation in the file changed.

Code scanning / CodeQL

Use of a broken or risky cryptographic algorithm High

Cryptographic algorithm
AES/CBC/PKCS5Padding
is insecure. CBC mode with PKCS#5 or PKCS#7 padding is vulnerable to padding oracle attacks. Consider using GCM instead.