Closed
Bug 484098
Opened 17 years ago
Closed 17 years ago
Website:Javascript gets interpreted when embedded in persona description
Categories
(Mozilla Labs Graveyard :: Personas Plus, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: krupa.mozbugs, Assigned: telliott)
References
(
URL
)
Details
Attachments
(1 file)
|
113.45 KB,
image/jpeg
|
Details |
Steps to reproduce:
1.Go to https://sm-weave-proxy01.services.mozilla.com/upload
2.Login;agree to the licenses
3.Fill the required fields in create your own persona field
4.In description field,enter a simple Javascript program to show the current date and time.
5.Click Submit
6.Login as an admin and approve this persona.
7.Check this persona under all->recent category.
expected result:
user submitted Javascript is not interpreted
actual result:
Javascript gets interpreted when embedded in persona description
additional info:
Even though we have an approval stage,the administrator might miss such malicious intent.
| Assignee | ||
Comment 1•17 years ago
|
||
knew I missed an htmlspecialchars somewhere...
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 2•17 years ago
|
||
thinking about it some more, I think it's better to sanitize the data on the way in, so you'll need to pull that bad persona, or it'll keep showing up.
Updated•10 years ago
|
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•