Skip to content
XSS Disclosed report Beginner

HTML Injection in First Name Field Leads to Styled Output in NASA Newsletter Confirmation Email

The First Name field in a NASA newsletter subscription form was reflected without escaping in the confirmation email, so HTML was rendered in the recipient's inbox. An attacker could use this to style the email, potentially aiding phishing or spoofing.

madhu873 Follow

Originally disclosed on Bugcrowd

Informational View original
  • Accepted in 4 days
  • Disclosed after 5 months

Summary by madhu873

“I discovered that HTML input submitted via the ‘First Name’ field in the NASA Landsat newsletter subscription form is reflected unescaped in the confirmation email. This resulted in styled output being rendered in the user’s inbox. While assessed as informational, it demonstrates a lack of output encoding and highlights a potential vector for phishing or spoofing if abused.”

The original report as published on Bugcrowd, by madhu873. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application failed to HTML-encode user input before embedding it in the confirmation email body.

Impact

The issue was assessed as informational, but it could enable phishing or spoofing by allowing styled content in the email.

What the attacker needed

Access to the newsletter subscription form

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you type something into a form, the website should treat it as plain text, not as instructions. Here, the site put the name directly into an email without cleaning it, so if someone typed HTML (the code that formats web pages), the email would show that formatting instead of the literal text. This is called HTML injection.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by madhu873

View all

8 more disclosed reports, best first.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.