CVE-2026-28678: CWE-311: Missing Encryption of Sensitive Data in toxicbishop DSA-with-tsx
DSA Study Hub is an interactive educational web application. Prior to commit d527fba, the user authentication system in server/routes/auth.js was found to be vulnerable to Insufficiently Protected Credentials. Authentication tokens (JWTs) were stored in HTTP cookies without cryptographic protection of the payload. This issue has been patched via commit d527fba.
AI Analysis
Technical Summary
CVE-2026-28678 identifies a vulnerability in the DSA-with-tsx product, an interactive educational web application developed by toxicbishop. The flaw is categorized under CWE-311 (Missing Encryption of Sensitive Data) and CWE-522 (Insufficiently Protected Credentials). Specifically, the authentication system stored JSON Web Tokens (JWTs) in HTTP cookies without cryptographic protection of the payload, meaning the tokens were not encrypted or adequately secured. This exposure allows attackers to intercept these tokens via network sniffing or cross-site scripting (XSS) attacks, leading to potential session hijacking or unauthorized access. The vulnerability affects all versions prior to commit d527fba, which introduced proper cryptographic protections for the tokens. The CVSS v3.1 score is 8.1, reflecting high severity due to network attack vector, low attack complexity, no privileges required, but requiring user interaction. The impact primarily concerns confidentiality and integrity of user authentication data, with no direct availability impact. Although no exploits are currently known in the wild, the vulnerability poses a significant risk if exploited. The patch ensures that JWTs are cryptographically protected when stored in cookies, mitigating token theft risks.
Potential Impact
The vulnerability allows attackers to capture authentication tokens transmitted in HTTP cookies without encryption, enabling session hijacking and unauthorized access to user accounts. This compromises the confidentiality and integrity of user credentials and sensitive data within the application. Organizations relying on DSA-with-tsx for educational or other interactive services risk user account compromise, data breaches, and potential lateral movement within their networks. The lack of encryption in token storage increases susceptibility to man-in-the-middle attacks, especially on unsecured or public networks. Although availability is not directly affected, the breach of authentication can lead to further exploitation, including privilege escalation or data manipulation. The impact is significant for organizations with sensitive user data or critical educational content, potentially damaging reputation and violating data protection regulations.
Mitigation Recommendations
Organizations should immediately update DSA-with-tsx to the version including commit d527fba or later, which implements cryptographic protection of JWTs in HTTP cookies. Additionally, enforce the use of secure cookie flags such as Secure and HttpOnly to prevent token theft via client-side scripts and ensure cookies are only transmitted over HTTPS. Implement Content Security Policy (CSP) headers to reduce the risk of XSS attacks that could expose tokens. Regularly audit authentication flows and token storage mechanisms to verify encryption and secure handling. Employ network security measures like TLS to protect data in transit. Educate users about phishing and social engineering risks to minimize user interaction exploitation. Finally, monitor application logs for suspicious authentication activity indicative of token misuse.
Affected Countries
United States, Canada, United Kingdom, Germany, France, Australia, India, Japan, South Korea, Brazil
CVE-2026-28678: CWE-311: Missing Encryption of Sensitive Data in toxicbishop DSA-with-tsx
Description
DSA Study Hub is an interactive educational web application. Prior to commit d527fba, the user authentication system in server/routes/auth.js was found to be vulnerable to Insufficiently Protected Credentials. Authentication tokens (JWTs) were stored in HTTP cookies without cryptographic protection of the payload. This issue has been patched via commit d527fba.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-28678 identifies a vulnerability in the DSA-with-tsx product, an interactive educational web application developed by toxicbishop. The flaw is categorized under CWE-311 (Missing Encryption of Sensitive Data) and CWE-522 (Insufficiently Protected Credentials). Specifically, the authentication system stored JSON Web Tokens (JWTs) in HTTP cookies without cryptographic protection of the payload, meaning the tokens were not encrypted or adequately secured. This exposure allows attackers to intercept these tokens via network sniffing or cross-site scripting (XSS) attacks, leading to potential session hijacking or unauthorized access. The vulnerability affects all versions prior to commit d527fba, which introduced proper cryptographic protections for the tokens. The CVSS v3.1 score is 8.1, reflecting high severity due to network attack vector, low attack complexity, no privileges required, but requiring user interaction. The impact primarily concerns confidentiality and integrity of user authentication data, with no direct availability impact. Although no exploits are currently known in the wild, the vulnerability poses a significant risk if exploited. The patch ensures that JWTs are cryptographically protected when stored in cookies, mitigating token theft risks.
Potential Impact
The vulnerability allows attackers to capture authentication tokens transmitted in HTTP cookies without encryption, enabling session hijacking and unauthorized access to user accounts. This compromises the confidentiality and integrity of user credentials and sensitive data within the application. Organizations relying on DSA-with-tsx for educational or other interactive services risk user account compromise, data breaches, and potential lateral movement within their networks. The lack of encryption in token storage increases susceptibility to man-in-the-middle attacks, especially on unsecured or public networks. Although availability is not directly affected, the breach of authentication can lead to further exploitation, including privilege escalation or data manipulation. The impact is significant for organizations with sensitive user data or critical educational content, potentially damaging reputation and violating data protection regulations.
Mitigation Recommendations
Organizations should immediately update DSA-with-tsx to the version including commit d527fba or later, which implements cryptographic protection of JWTs in HTTP cookies. Additionally, enforce the use of secure cookie flags such as Secure and HttpOnly to prevent token theft via client-side scripts and ensure cookies are only transmitted over HTTPS. Implement Content Security Policy (CSP) headers to reduce the risk of XSS attacks that could expose tokens. Regularly audit authentication flows and token storage mechanisms to verify encryption and secure handling. Employ network security measures like TLS to protect data in transit. Educate users about phishing and social engineering risks to minimize user interaction exploitation. Finally, monitor application logs for suspicious authentication activity indicative of token misuse.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-02T21:43:19.927Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69ac4f4bc48b3f10ffae7ab6
Added to database: 3/7/2026, 4:16:11 PM
Last enriched: 3/14/2026, 7:54:26 PM
Last updated: 4/20/2026, 3:43:42 AM
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.