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)

x86
Windows XP

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: telliott)

References

()

Details

Attachments

(1 file)

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.
knew I missed an htmlspecialchars somewhere...
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
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.
Priority: -- → P1
Verified.
Status: RESOLVED → VERIFIED
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: