They Ignored My Bug Report but Fixed It Silently: My Experience with Enhancv
The resume scanner rendered PDF metadata fields as HTML without sanitisation, allowing stored cross-site scripting. An attacker could execute JavaScript in the browser of anyone viewing a scan link, potentially stealing session cookies and hijacking accounts.
As a student passionate about cybersecurity, I love exploring web applications to learn more about real-world security practices. Recently, I discovered a critical vulnerability in a popular resume scanning website’s resume scanning feature (ATS parser).
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the application inserted PDF metadata values directly into the HTML page without encoding or sanitising them, so any markup or script in those fields was treated as code by the browser.
Impact
An attacker could steal session cookies to hijack accounts, perform unauthorised actions as the victim, and share malicious scan links for phishing; the text does not mention any defence that limited the exploit.
What the attacker needed
Victim opens a scan link; attacker can craft a PDF with metadata; no account needed to view scan link
The fix
The vulnerability was fixed silently by the company, though the text does not describe the technical fix; properly, the scanner should encode or sanitise PDF metadata before rendering it as HTML.
How it was found
- Modify the name field in a PDF's metadata to include script code.
- Upload the modified PDF to the resume scanner.
- Open the scan link; the script runs and redirects the browser while sending cookies.
- Share the scan link and confirm the script runs for others who open it.
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 write-up has not been written yet. The Original tab links to the source.
When you upload a PDF, the scanner reads hidden information inside the file, such as the author name. The site displayed that information on a web page without cleaning it first. This meant someone could put a small script in the PDF's hidden fields, and the site would run it in the browser of anyone who opened the scan result, like leaving a note that makes the reader do something harmful.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.