CVE-2026-82700 Overview
CVE-2026-82700 is a stored cross-site scripting (XSS) vulnerability [CWE-79] in code-projects Online Shopping System 1.0. The flaw resides in the Newsletter Subscription component, specifically the /offersmail.php script. Attackers can manipulate the email parameter to inject arbitrary script content that is later rendered in a victim's browser. The exploit has been publicly disclosed, increasing the likelihood of opportunistic abuse against unpatched deployments.
Critical Impact
Remote attackers can inject persistent JavaScript through the newsletter email parameter, enabling session theft, credential harvesting, or client-side redirection against administrators and shoppers who view the affected page.
Affected Products
- code-projects Online Shopping System 1.0
- The /offersmail.php script within the Newsletter Subscription component
- Deployments exposing the email parameter without server-side output encoding
Discovery Timeline
- 2026-08-31 - CVE-2026-82700 published to the National Vulnerability Database (NVD)
- 2026-08-31 - Last updated in NVD database
Technical Details for CVE-2026-82700
Vulnerability Analysis
The vulnerability is a stored cross-site scripting flaw in the newsletter subscription workflow of code-projects Online Shopping System 1.0. When a user submits the newsletter form, the application accepts the email value and persists or reflects it without applying context-aware output encoding. When the stored value is later rendered in HTML, the browser interprets injected markup as executable script.
Stored XSS in an e-commerce checkout flow places malicious payloads in the path of both customers and administrators. Because the injection occurs over the network without authentication, any unauthenticated visitor can seed a payload. User interaction is required only to render the payload in a browser context.
Root Cause
The root cause is missing input validation and improper neutralization of user-supplied data during web page generation, tracked as [CWE-79]. The email parameter received by /offersmail.php is not filtered against script metacharacters and is not HTML-encoded on output. A well-formed email validator paired with contextual encoding on render would prevent the injected content from executing.
Attack Vector
An unauthenticated remote attacker submits a crafted value to the newsletter subscription endpoint, replacing a normal address with an HTML or JavaScript payload in the email field. The application stores or reflects the payload. When a subsequent user or administrator loads the page that renders the stored email value, the browser executes the injected script under the site's origin. See the GitHub XSS Vulnerability Report and VulDB CVE-2026-82700 for reproduction details.
No verified proof-of-concept code is reproduced here. Refer to the linked disclosure for exact request payloads.
Detection Methods for CVE-2026-82700
Indicators of Compromise
- HTTP POST requests to /offersmail.php containing <script>, onerror=, javascript:, or HTML tag characters within the email parameter
- Database rows in the newsletter or subscribers table where the stored email value fails standard email format validation
- Outbound requests from user browsers to attacker-controlled domains originating from pages that render newsletter data
- Anomalous JavaScript execution or DOM modifications on pages that display subscriber content to administrators
Detection Strategies
- Deploy web application firewall (WAF) rules that inspect the email parameter on /offersmail.php for HTML and script metacharacters
- Baseline expected input against RFC 5322 email syntax and alert on requests containing angle brackets, quotes, or event handler substrings
- Correlate web access logs with client-side error telemetry to identify pages triggering unexpected script execution
Monitoring Recommendations
- Enable verbose logging on the newsletter endpoint including full request bodies and source IPs
- Monitor administrative sessions that access pages rendering subscriber data for signs of session hijacking or unexpected navigation
- Track repeated submissions to /offersmail.php from the same source and rate-limit or block sustained abuse
How to Mitigate CVE-2026-82700
Immediate Actions Required
- Restrict public access to /offersmail.php at the reverse proxy or WAF until a code-level fix is applied
- Audit the newsletter data store and purge any entries whose email field contains HTML tags, script blocks, or event handler attributes
- Rotate administrator session tokens for accounts that viewed subscriber lists during the exposure window
Patch Information
No official vendor patch is referenced in the enriched CVE data. Consult the Code Projects Resource Hub and VulDB Vulnerability #397189 for update status. Operators should apply source-level fixes: validate the email parameter against a strict regular expression on input, and apply context-appropriate HTML entity encoding on every render path that displays the stored value.
Workarounds
- Add server-side validation that rejects any email value not matching a strict email format regex before persistence
- Apply HTML entity encoding to subscriber data on output using the templating engine's escaping function
- Deploy a Content Security Policy (CSP) that disallows inline script execution and restricts script sources to trusted origins
- Front the application with a WAF ruleset such as the OWASP Core Rule Set to block reflected and stored XSS payloads
# Example NGINX ModSecurity rule to block script tags in the email parameter
SecRule ARGS:email "@rx (?i)(<script|onerror=|javascript:|<img|<svg)" \
"id:1008270,phase:2,deny,status:403,log,msg:'CVE-2026-82700 XSS attempt on offersmail.php email parameter'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

